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 0CAE6158042 for ; Thu, 17 Oct 2024 14:03:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AFA8E0899; Thu, 17 Oct 2024 14:03:12 +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 44D1CE0899 for ; Thu, 17 Oct 2024 14:03:09 +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 8B89F34305A for ; Thu, 17 Oct 2024 14:03:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28D0B1B65 for ; Thu, 17 Oct 2024 14:03:06 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1729173783.296c960b8a1d769f7cbb8a9c8daf192e79ef55b4.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/fast_float/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/fast_float/Manifest dev-cpp/fast_float/fast_float-6.1.6.ebuild dev-cpp/fast_float/metadata.xml X-VCS-Directories: dev-cpp/fast_float/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 296c960b8a1d769f7cbb8a9c8daf192e79ef55b4 X-VCS-Branch: master Date: Thu, 17 Oct 2024 14:03: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: b7604bd3-11fc-45a5-b351-8b4df0b39aee X-Archives-Hash: e1323a61b893c17d71769d72597c3253 commit: 296c960b8a1d769f7cbb8a9c8daf192e79ef55b4 Author: Alexey Sokolov asokolov org> AuthorDate: Mon Oct 14 13:29:34 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Oct 17 14:03:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=296c960b dev-cpp/fast_float: new package, add 6.1.6 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/fast_float/Manifest | 1 + dev-cpp/fast_float/fast_float-6.1.6.ebuild | 34 ++++++++++++++++++++++++++++++ dev-cpp/fast_float/metadata.xml | 15 +++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-cpp/fast_float/Manifest b/dev-cpp/fast_float/Manifest new file mode 100644 index 000000000000..b4b2a441fd7f --- /dev/null +++ b/dev-cpp/fast_float/Manifest @@ -0,0 +1 @@ +DIST fast_float-6.1.6.tar.gz 101727 BLAKE2B eb9833f7bff6e6086db1525fcc71231c5cc8f47985aa4c71078d896afb5fea20c41bfdb55de6c1e8c9cfa6c9b842331f340115590683e1d9e6a3ba40f4148870 SHA512 d2dbd2537f433329a76539c061238af080125526b7822fbfdf0f70ac0a6800114848b9be0fdf9c51dbb22211af3bdcf9829ed9cc4a47fd28ecdeecf7c5d4b663 diff --git a/dev-cpp/fast_float/fast_float-6.1.6.ebuild b/dev-cpp/fast_float/fast_float-6.1.6.ebuild new file mode 100644 index 000000000000..afa18fe2c69b --- /dev/null +++ b/dev-cpp/fast_float/fast_float-6.1.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Fast and exact implementation of the C++ from_chars functions for number types" +HOMEPAGE="https://github.com/fastfloat/fast_float" +SRC_URI="https://github.com/fastfloat/fast_float/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 Boost-1.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +BDEPEND="test? ( dev-cpp/doctest )" + +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( -DFASTFLOAT_TEST=$(usex test) ) + # Avoid passing these without USE=test to avoid cmake warning + # "Manually-specified variables were not used by the project" + use test && mycmakeargs+=( + -DSYSTEM_DOCTEST=ON + # Unconditionally calls FetchContent + -DFASTFLOAT_SUPPLEMENTAL_TESTS=OFF + ) + + sed -i 's/-Werror//' tests/CMakeLists.txt || die + + cmake_src_configure +} diff --git a/dev-cpp/fast_float/metadata.xml b/dev-cpp/fast_float/metadata.xml new file mode 100644 index 000000000000..ec84f74b1736 --- /dev/null +++ b/dev-cpp/fast_float/metadata.xml @@ -0,0 +1,15 @@ + + + + + stffn.mobil@freenet.de + Steffen Winter + + + proxy-maint@gentoo.org + Proxy Maintainers + + + fastfloat/fast_float + +