From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0954E158041 for ; Tue, 20 Feb 2024 08:48:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43013E2A34; Tue, 20 Feb 2024 08:48:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0EB4BE2A34 for ; Tue, 20 Feb 2024 08:48:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EBFBC3431B4 for ; Tue, 20 Feb 2024 08:48:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 562F1B2F for ; Tue, 20 Feb 2024 08:48:46 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1708387978.0c3675831337770181182a514b5a2a654e44ef91.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/scnlib/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/scnlib/Manifest dev-cpp/scnlib/scnlib-2.0.2.ebuild X-VCS-Directories: dev-cpp/scnlib/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 0c3675831337770181182a514b5a2a654e44ef91 X-VCS-Branch: master Date: Tue, 20 Feb 2024 08:48:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8ed02767-db67-4da7-81d5-b3e7d7f7940e X-Archives-Hash: 661fac5261fa506692b97796978a4d45 commit: 0c3675831337770181182a514b5a2a654e44ef91 Author: Steffen Winter proton me> AuthorDate: Tue Feb 20 00:12:58 2024 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Tue Feb 20 00:12:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c367583 dev-cpp/scnlib: add 2.0.2 Signed-off-by: Steffen Winter proton.me> dev-cpp/scnlib/Manifest | 1 + dev-cpp/scnlib/scnlib-2.0.2.ebuild | 42 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-cpp/scnlib/Manifest b/dev-cpp/scnlib/Manifest index 26f3ba829a..396c75fd9a 100644 --- a/dev-cpp/scnlib/Manifest +++ b/dev-cpp/scnlib/Manifest @@ -1,2 +1,3 @@ DIST scnlib-2.0.0.tar.gz 517424 BLAKE2B 152b2b8510c3ab523349e00b5a139c2ea0e6cc234221eb5a472d746ba2b2d176ec9e6515601578b590c9b2d9cb97a136dcf361f73a56c672b3dfd00350a39f60 SHA512 5bca5a43dce9be019775a0cac64945c4b4cdadbecfa8d8e0889b6ed888c3a37ae757aa5d8d60d40418d0058641a40ab6dce35a1de84e9a9a2a6f5b4d12bceed4 DIST scnlib-2.0.1.tar.gz 517133 BLAKE2B ab9593bf9891ea20e0f9a34d853cbd29c2e8cc08b6a491e3215a8c05d4932e85cc3991146c84f2b536e62738150be1d483eee56c7d615dea57341f464ff49976 SHA512 d4a4dac7f739566ab7c7f1c28e3c528ae9917c0a853302e6afb74fc9e57a10c56aa1e1fa1f6f1aa1e6ffd6d90123dccb4349eb52ba336981755d05683d6e6a65 +DIST scnlib-2.0.2.tar.gz 518311 BLAKE2B 21084e8830a10df0777dc100e2e448447f3a777535a821dca96423dfdb467c9073fb3e7c499ffb42598f54b8f44d3fdab9c43d005c313850454a8fd27e152273 SHA512 12b9ae26a5ccc600aacad1e2b2287bfc0b6986a260e182c91541876bc5804fe661093ad10d1befda56803afc7a9aa9f0348820dbb5af4fa6fdf048f85b3bcef1 diff --git a/dev-cpp/scnlib/scnlib-2.0.2.ebuild b/dev-cpp/scnlib/scnlib-2.0.2.ebuild new file mode 100644 index 0000000000..9d0703af8f --- /dev/null +++ b/dev-cpp/scnlib/scnlib-2.0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="scanf for modern C++ " +HOMEPAGE="https://scnlib.dev/" +SRC_URI="https://github.com/eliaskosunen/scnlib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +BDEPEND=" + dev-cpp/fast_float + >=dev-cpp/simdutf-4.0.0:= + test? ( dev-cpp/gtest ) +" + +RESTRICT="!test? ( test )" + +src_prepare() { + use test && eapply "${FILESDIR}/${PN}-2.0.0-no-external-test-deps.patch" + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DSCN_BENCHMARKS=OFF + -DSCN_BENCHMARKS_BINARYSIZE=OFF + -DSCN_BENCHMARKS_BUILDTIME=OFF + -DSCN_DOCS=OFF + -DSCN_EXAMPLES=$(usex test ON OFF) + -DSCN_TESTS=$(usex test ON OFF) + -DSCN_USE_EXTERNAL_FAST_FLOAT=ON + -DSCN_USE_EXTERNAL_SIMDUTF=ON + ) + cmake_src_configure +}