dev-cpp/argparse: add 3.2

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2025-07-05 08:46:06 +03:00
parent f38dfc39c6
commit 6c11feb7c5
2 changed files with 35 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST argparse-2.9.tar.gz 103147 BLAKE2B 2862acd7dc43dea0f7a7a1e6c9541ec8e7b7ecc70ce72ad327b34f72a330799475490e7da4e3a07c9ab28ddec4f88911514690c8b438f36d7c02704fe26b0f08 SHA512 fa471e7d8c448510376e79927496f62775e6ed37e1dffefd607839e6005dfbc61125d0e18bfc1ff20f86cef7efd75339d7bb143dc6574d988f83c7c96896fa5f
DIST argparse-3.0.tar.gz 116171 BLAKE2B 55a9aeaddf8ddaf8fa3e99d2ce3145a09c0ebfe927150928db683162e2227a61a2e7fbf8d272346e11912ece2cbdba313790586bd49c89352a03f0cafd01c3c9 SHA512 a7ed879eb3f71868cd84e513c0db63c4fecff1c9f0b34d6cfbe85d2439e83b80e97f713b497259c9775c9c7c1f639a08b73080045c51756de15e3d8c18b97116
DIST argparse-3.2.tar.gz 123731 BLAKE2B e7fb4c4424449923ec598be98091d90d6169eb9ddf76122a742c4965283d3c0bcd9e5e2153452f9002a2f35fd175d0c6cb0b9055fccd874746be1ce07eb7f943 SHA512 83bebae6fd022c729bc589942a2aba7d601948a93eff3c170352885ab95a30fc7d0ff15a2f42fc935ee6c2db18f4a70ecd855a45af5f37383f77745271f01d78
+34
View File
@@ -0,0 +1,34 @@
# Copyright 1999-2025 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_prepare() {
cmake_src_prepare
sed -e 's/ -Werror//' -i test/CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
-DARGPARSE_BUILD_TESTS=$(usex test)
)
cmake_src_configure
}
src_test() {
cd "${BUILD_DIR}"/test || die
./tests || die
}