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 A0E4D15808B for ; Tue, 13 Feb 2024 10:57:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD9F2E29C2; Tue, 13 Feb 2024 10:57:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B14EFE29C2 for ; Tue, 13 Feb 2024 10:57:22 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DBEF5340C33 for ; Tue, 13 Feb 2024 10:57:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7348411CF for ; Tue, 13 Feb 2024 10:57:20 +0000 (UTC) From: "Steffen Winter" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Steffen Winter" Message-ID: <1707821811.fce5a1fc194b9a6c5e7015e166a8975a755c6205.stffn.mobil@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/scnlib/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/scnlib/Manifest dev-cpp/scnlib/scnlib-2.0.1.ebuild X-VCS-Directories: dev-cpp/scnlib/ X-VCS-Committer: stffn.mobil X-VCS-Committer-Name: Steffen Winter X-VCS-Revision: fce5a1fc194b9a6c5e7015e166a8975a755c6205 X-VCS-Branch: dev Date: Tue, 13 Feb 2024 10:57:20 +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: af950f8f-dc5b-4a58-8dcd-969de3b5c83b X-Archives-Hash: efd225c7cb3b07330e702cef2dbea960 commit: fce5a1fc194b9a6c5e7015e166a8975a755c6205 Author: Steffen Winter proton me> AuthorDate: Tue Feb 13 10:56:51 2024 +0000 Commit: Steffen Winter freenet de> CommitDate: Tue Feb 13 10:56:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fce5a1fc dev-cpp/scnlib: add 2.0.1 Signed-off-by: Steffen Winter proton.me> dev-cpp/scnlib/Manifest | 1 + dev-cpp/scnlib/scnlib-2.0.1.ebuild | 42 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-cpp/scnlib/Manifest b/dev-cpp/scnlib/Manifest index d9e97204c7..26f3ba829a 100644 --- a/dev-cpp/scnlib/Manifest +++ b/dev-cpp/scnlib/Manifest @@ -1 +1,2 @@ DIST scnlib-2.0.0.tar.gz 517424 BLAKE2B 152b2b8510c3ab523349e00b5a139c2ea0e6cc234221eb5a472d746ba2b2d176ec9e6515601578b590c9b2d9cb97a136dcf361f73a56c672b3dfd00350a39f60 SHA512 5bca5a43dce9be019775a0cac64945c4b4cdadbecfa8d8e0889b6ed888c3a37ae757aa5d8d60d40418d0058641a40ab6dce35a1de84e9a9a2a6f5b4d12bceed4 +DIST scnlib-2.0.1.tar.gz 517133 BLAKE2B ab9593bf9891ea20e0f9a34d853cbd29c2e8cc08b6a491e3215a8c05d4932e85cc3991146c84f2b536e62738150be1d483eee56c7d615dea57341f464ff49976 SHA512 d4a4dac7f739566ab7c7f1c28e3c528ae9917c0a853302e6afb74fc9e57a10c56aa1e1fa1f6f1aa1e6ffd6d90123dccb4349eb52ba336981755d05683d6e6a65 diff --git a/dev-cpp/scnlib/scnlib-2.0.1.ebuild b/dev-cpp/scnlib/scnlib-2.0.1.ebuild new file mode 100644 index 0000000000..9d0703af8f --- /dev/null +++ b/dev-cpp/scnlib/scnlib-2.0.1.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 +}