summaryrefslogtreecommitdiff
path: root/dev-cpp/std-format
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/std-format')
-rw-r--r--dev-cpp/std-format/Manifest1
-rw-r--r--dev-cpp/std-format/metadata.xml12
-rw-r--r--dev-cpp/std-format/std-format-0_pre20220112.ebuild30
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-cpp/std-format/Manifest b/dev-cpp/std-format/Manifest
new file mode 100644
index 000000000000..ee6c61d86faf
--- /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 000000000000..f1ec451df91c
--- /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>lssndrbarbieri@gmail.com</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_pre20220112.ebuild b/dev-cpp/std-format/std-format-0_pre20220112.ebuild
new file mode 100644
index 000000000000..ac3896aeaaca
--- /dev/null
+++ b/dev-cpp/std-format/std-format-0_pre20220112.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
+}