From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-cpp/fast_float/Manifest | 1 + dev-cpp/fast_float/fast_float-8.0.2.ebuild | 35 ++++++++++++++++++++++++++++++ dev-cpp/fast_float/metadata.xml | 9 ++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-cpp/fast_float/Manifest create mode 100644 dev-cpp/fast_float/fast_float-8.0.2.ebuild create mode 100644 dev-cpp/fast_float/metadata.xml (limited to 'dev-cpp/fast_float') diff --git a/dev-cpp/fast_float/Manifest b/dev-cpp/fast_float/Manifest new file mode 100644 index 000000000000..38642cf708e7 --- /dev/null +++ b/dev-cpp/fast_float/Manifest @@ -0,0 +1 @@ +DIST fast_float-8.0.2.tar.gz 121232 BLAKE2B 5c2f16241c33bcda3bfdf696462250aae9b7fe23ccd080a26137db75a9e8158b3e7665df09f5e92e123087af37248a9a3acaf71a77010e77e06aa94bfb3e16d7 SHA512 0475d4a9100fda4cf0ba3a5f90090d2b86f4a472dbc125db57101b75555a05148965432d8258dd2a0cdffe97c10b27efe45baf9a8fe129f71d7a58b0dc705b4e diff --git a/dev-cpp/fast_float/fast_float-8.0.2.ebuild b/dev-cpp/fast_float/fast_float-8.0.2.ebuild new file mode 100644 index 000000000000..e0464741ddf0 --- /dev/null +++ b/dev-cpp/fast_float/fast_float-8.0.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024-2025 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 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-cpp/doctest )" + +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" + if use test; then + mycmakeargs+=( + -DSYSTEM_DOCTEST=ON + # Unconditionally calls FetchContent + -DFASTFLOAT_SUPPLEMENTAL_TESTS=OFF + ) + sed -i 's/-Werror//' tests/CMakeLists.txt || die + fi + + 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..6c89ba2fc214 --- /dev/null +++ b/dev-cpp/fast_float/metadata.xml @@ -0,0 +1,9 @@ + + + + + https://github.com/fastfloat/fast_float/issues + https://github.com/fastfloat/fast_float/releases + + baldeagleos-repo + -- cgit v1.3