summaryrefslogtreecommitdiff
path: root/dev-cpp/argparse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-05 00:07:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-05 00:07:53 +0100
commit9d1e33edaf09cde926d589461f40e378d4124be9 (patch)
treeb0a5a85acd92ce912a95245121dde9cebcf76b71 /dev-cpp/argparse
parentdafa6f367240d1f5329ca89fb6f78985dbdc025b (diff)
gentoo auto-resync : 05:06:2024 - 00:07:52
Diffstat (limited to 'dev-cpp/argparse')
-rw-r--r--dev-cpp/argparse/Manifest2
-rw-r--r--dev-cpp/argparse/argparse-3.0.ebuild29
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-cpp/argparse/Manifest b/dev-cpp/argparse/Manifest
index 5a2e6f57660d..30613b803710 100644
--- a/dev-cpp/argparse/Manifest
+++ b/dev-cpp/argparse/Manifest
@@ -1,3 +1,5 @@
DIST argparse-2.9.tar.gz 103147 BLAKE2B 2862acd7dc43dea0f7a7a1e6c9541ec8e7b7ecc70ce72ad327b34f72a330799475490e7da4e3a07c9ab28ddec4f88911514690c8b438f36d7c02704fe26b0f08 SHA512 fa471e7d8c448510376e79927496f62775e6ed37e1dffefd607839e6005dfbc61125d0e18bfc1ff20f86cef7efd75339d7bb143dc6574d988f83c7c96896fa5f
+DIST argparse-3.0.tar.gz 116171 BLAKE2B 55a9aeaddf8ddaf8fa3e99d2ce3145a09c0ebfe927150928db683162e2227a61a2e7fbf8d272346e11912ece2cbdba313790586bd49c89352a03f0cafd01c3c9 SHA512 a7ed879eb3f71868cd84e513c0db63c4fecff1c9f0b34d6cfbe85d2439e83b80e97f713b497259c9775c9c7c1f639a08b73080045c51756de15e3d8c18b97116
EBUILD argparse-2.9.ebuild 569 BLAKE2B c4378b69b06072bc37879d6555a594c5fd0ba0eb75969e42c034d629e34e7d7c0eda02b930d344d72eab52ba84ce0abbc49ee204bc5305730411523ea6cf055b SHA512 5fcef85bc8807a208c087d847deed4861fdf5ff1586c5f7bd2247c22f8c56e2021afa7c00f5cf5706e108d6a3c31499d286336aa4173250180cffb88cda64161
+EBUILD argparse-3.0.ebuild 569 BLAKE2B fd00056b3f774001d55a189fe20b6679281cc6bd91cd912fd5571218978be2ace96493a8771c04aa6685fdbdd775e2d4a09727c73d74c09894c4f8d36939336a SHA512 704a88178ee709fa7911d489f1ea90e0099752a1d0508124b82662fbc3f02e74d60c5328e47dd43fdb15e438e9e77effcecd118c6ac8ba75821d0f3a1e2c38ee
MISC metadata.xml 330 BLAKE2B b2116c014f0385ca1a4d617dcb6c48ee60e39d82630fb716230c27f4de79ec6cd4611f9194aa9d8555cdb54e2cc22ab0a96cd755231ef99e272877a490226e5b SHA512 ef007277e64f992e40944f540606c9908ac87284d73dfcf252caa885da6c381bb33640544e841b857483c24dfcc5250a6e59a082cb463a02c059afd23069d686
diff --git a/dev-cpp/argparse/argparse-3.0.ebuild b/dev-cpp/argparse/argparse-3.0.ebuild
new file mode 100644
index 000000000000..478612f014e0
--- /dev/null
+++ b/dev-cpp/argparse/argparse-3.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Argument Parser for Modern C++"
+HOMEPAGE="https://github.com/p-ranav/argparse"
+SRC_URI="https://github.com/p-ranav/argparse/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DARGPARSE_BUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ cd "${BUILD_DIR}"/test || die
+ ./tests || die
+}