commit: d691c26da6399585577caec4640c2dd4cc530e66 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Mon Apr 25 02:40:51 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Tue Apr 26 10:33:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d691c26d
dev-cpp/std-format: new package, add 0_p20220112 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-cpp/std-format/Manifest | 1 + dev-cpp/std-format/metadata.xml | 12 ++++++++++ dev-cpp/std-format/std-format-0_p20220112.ebuild | 30 ++++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/dev-cpp/std-format/Manifest b/dev-cpp/std-format/Manifest new file mode 100644 index 000000000..ee6c61d86 --- /dev/null +++ b/dev-cpp/std-format/Manifest @@ -0,0 +1 @@ +DIST std-format-45296602ad78a804411e7c3b617e13759f38e4e7.tar.bz2 5424 BLAKE2B 485de9dc656449fc25cfbeb1347b623b3f21304fb11286023ee8f317ecdd63ded755393141306094bfc75831acd4f23bc189c8f4987527ec91a77c79ae973b30 SHA512 6fac612495b11d63066f88d8bb3accee5f79748b220b49dd69c87da094767e44286d4698168c40b04e279ad6c04fb37aeb5de2f5d6d0084e634b8455a5e05f9c diff --git a/dev-cpp/std-format/metadata.xml b/dev-cpp/std-format/metadata.xml new file mode 100644 index 000000000..f1ec451df --- /dev/null +++ b/dev-cpp/std-format/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>[email protected]</email> + <name>Alessandro Barbieri</name> + </maintainer> + <upstream> + <bugs-to>https://gitlab.com/ananicy-cpp/stl-polyfills/std-format/-/issues</bugs-to> + <remote-id type="gitlab">ananicy-cpp/stl-polyfills/std-format</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/std-format/std-format-0_p20220112.ebuild b/dev-cpp/std-format/std-format-0_p20220112.ebuild new file mode 100644 index 000000000..ac3896aea --- /dev/null +++ b/dev-cpp/std-format/std-format-0_p20220112.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +COMMIT="45296602ad78a804411e7c3b617e13759f38e4e7" + +DESCRIPTION="A simple polyfill allowing you to use std::format" +HOMEPAGE="https://gitlab.com/ananicy-cpp/stl-polyfills/std-format" +SRC_URI="https://gitlab.com/ananicy-cpp/stl-polyfills/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.bz2" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="" +DEPEND="test? ( dev-libs/libfmt )" + +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +}
