From 0a430687b8b0ce6b353a953bfe0aa4d4cf4380da Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 8 Feb 2024 14:49:03 +0000 Subject: Adding metadata --- dev-cpp/fast_float/fast_float-6.1.0.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dev-cpp/fast_float/fast_float-6.1.0.ebuild (limited to 'dev-cpp/fast_float/fast_float-6.1.0.ebuild') diff --git a/dev-cpp/fast_float/fast_float-6.1.0.ebuild b/dev-cpp/fast_float/fast_float-6.1.0.ebuild new file mode 100644 index 000000000000..93f3bc245add --- /dev/null +++ b/dev-cpp/fast_float/fast_float-6.1.0.ebuild @@ -0,0 +1,29 @@ +# 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.git" +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 ON OFF) ) + use test && mycmakeargs+=( + -DSYSTEM_DOCTEST=ON + # Unconditionally calls FetchContent + -DFASTFLOAT_SUPPLEMENTAL_TESTS=OFF + ) + cmake_src_configure +} -- cgit v1.3