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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC7CE15807B for ; Sat, 9 Nov 2024 16:30:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C3C7E08F3; Sat, 9 Nov 2024 16:30:11 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 181A5E08F3 for ; Sat, 9 Nov 2024 16:30:11 +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 585F833C4EE for ; Sat, 9 Nov 2024 16:30:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E579F1FBE for ; Sat, 9 Nov 2024 16:30:06 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1731153861.14a83204c937de80a4df1710bc2d57555eef39f6.ceamac@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-4.0.1.ebuild X-VCS-Directories: dev-cpp/scnlib/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 14a83204c937de80a4df1710bc2d57555eef39f6 X-VCS-Branch: master Date: Sat, 9 Nov 2024 16:30:06 +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: 4dac5d88-d2bb-45e2-956e-1d80bcb74eb8 X-Archives-Hash: 27392200be7d3bf97feb9649c6a283df commit: 14a83204c937de80a4df1710bc2d57555eef39f6 Author: Steffen Winter proton me> AuthorDate: Sat Nov 9 12:04:02 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sat Nov 9 12:04:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14a83204 dev-cpp/scnlib: add 4.0.1 Signed-off-by: Steffen Winter proton.me> dev-cpp/scnlib/Manifest | 1 + dev-cpp/scnlib/scnlib-4.0.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-cpp/scnlib/Manifest b/dev-cpp/scnlib/Manifest index 16ed6b2b3..594cb260f 100644 --- a/dev-cpp/scnlib/Manifest +++ b/dev-cpp/scnlib/Manifest @@ -1 +1,2 @@ DIST scnlib-3.0.1.tar.gz 410264 BLAKE2B 15b71f514f9ee7ee1c2a029592ec541e52c36e27cc28b4eac58d51a49bfa04869d9b02c291356a3f7a1d3e9af82ac78c5fdadcfe87575da2ca08a9395fc49935 SHA512 76f3196d6bd01a349c69bf1863cc0dc521a95b84ef25b841198acbef99e295b53c1c82c745a7498b9a86a6fd4cc0c395abcb02fdf18b1d7c9152321ab195945b +DIST scnlib-4.0.1.tar.gz 434107 BLAKE2B 6f7347f739bc90723338e2da912701cacc376121c0c62bbfd51d7ed80a07dd00c801bbf82113a24ca342d887942a19f29cc84ca869d2572b2689e963042ef2a6 SHA512 db14d71da3c1ecb849f00ac1e334f39c532592230e950aa1009ff00ba56670cb71e33ca457fd4ac66595ff43f0dca0e42d45f672848b9cde3cba80f19ef8693f diff --git a/dev-cpp/scnlib/scnlib-4.0.1.ebuild b/dev-cpp/scnlib/scnlib-4.0.1.ebuild new file mode 100644 index 000000000..ab938178a --- /dev/null +++ b/dev-cpp/scnlib/scnlib-4.0.1.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=" + test? ( dev-cpp/gtest ) +" + +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DSCN_BENCHMARKS=OFF + -DSCN_BENCHMARKS_BINARYSIZE=OFF + -DSCN_BENCHMARKS_BUILDTIME=OFF + -DSCN_DISABLE_FAST_FLOAT=ON + -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 +}