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 9348915817D for ; Mon, 10 Jun 2024 18:43:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD99DE2AB4; Mon, 10 Jun 2024 18:43:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 8C890E2AB4 for ; Mon, 10 Jun 2024 18:43:34 +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 A055B33BEB9 for ; Mon, 10 Jun 2024 18:43:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D2351C4E for ; Mon, 10 Jun 2024 18:43:32 +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: <1718045009.c2303f3180b4b571fea3eac30bdfc84f053d5779.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-3.0.0.ebuild X-VCS-Directories: dev-cpp/scnlib/ X-VCS-Committer: stffn.mobil X-VCS-Committer-Name: Steffen Winter X-VCS-Revision: c2303f3180b4b571fea3eac30bdfc84f053d5779 X-VCS-Branch: dev Date: Mon, 10 Jun 2024 18:43:32 +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: 8f64b4fe-25bd-43cc-bd47-234aaf14dcbd X-Archives-Hash: 2f3151c87a4156673431232b60d4cc52 commit: c2303f3180b4b571fea3eac30bdfc84f053d5779 Author: Steffen Winter proton me> AuthorDate: Mon Jun 10 18:42:32 2024 +0000 Commit: Steffen Winter freenet de> CommitDate: Mon Jun 10 18:43:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2303f31 dev-cpp/scnlib: add 3.0.0 Signed-off-by: Steffen Winter proton.me> dev-cpp/scnlib/Manifest | 1 + dev-cpp/scnlib/scnlib-3.0.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-cpp/scnlib/Manifest b/dev-cpp/scnlib/Manifest index 970d5182f..91f695300 100644 --- a/dev-cpp/scnlib/Manifest +++ b/dev-cpp/scnlib/Manifest @@ -1 +1,2 @@ DIST scnlib-2.0.3.tar.gz 520197 BLAKE2B 6e0a88985e8113d85d5c511fe9ec857af12a5d34224fee7a41d8347e1e1e9fe7bb78b15bbdafd9c06006112de747c9c3cd6b101d1076b619e33ac7e745668cc4 SHA512 888f60d5a60b2e348001a56a59e123f496f89b09668f0b05791e878528c1c46930963f22e3b64130c875896ace56dffc0d9310edabb4804abf79cc125dfd5ff4 +DIST scnlib-3.0.0.tar.gz 410057 BLAKE2B f5e6336b08063eacfd3c1c53e22559ea808482fba80d190c1c7a40d17e9c31fc776e7b672ca0943781346de99e115e0a3bf60b910f715d90235bef9934465bb4 SHA512 bf768ce47d4717ddbd563f0fa9472ea001d632a42921737d1ac858c63c664fd834247e192f053927f880ce5b6774d47fb684088f5ac5dbc1033a10df22916df1 diff --git a/dev-cpp/scnlib/scnlib-3.0.0.ebuild b/dev-cpp/scnlib/scnlib-3.0.0.ebuild new file mode 100644 index 000000000..bcbb76b37 --- /dev/null +++ b/dev-cpp/scnlib/scnlib-3.0.0.ebuild @@ -0,0 +1,36 @@ +# 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://www.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 + test? ( dev-cpp/gtest ) +" + +RESTRICT="!test? ( test )" + +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_GTEST=ON + ) + cmake_src_configure +}