dev-python/rich-argparse: New package, v1.7.1

New dependency of dev-python/cmd2.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-07-01 04:31:52 +02:00
parent 3c08c09e6c
commit e394250a93
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST rich_argparse-1.7.1.tar.gz 38094 BLAKE2B 26c8d961c814b44907d63ce4a0f9d66995223d492f2f1d9f756d1e88c1873f0c93d3605dad4583205ff0e8bd4756c09d15b4a87e3b0374099f273a5dbac8c7ea SHA512 f4245bfa7eb4f44b97a6cf44bd5c81599c5136afbe73f74893b115dc409df9d3bcadf6db3fe723d767ad7a6def3bf96d3689c83b3f1372fce1e273ea9379104a

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">hamdanal/rich-argparse</remote-id>
<remote-id type="pypi">rich-argparse</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,31 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Rich help formatters for argparse and optparse"
HOMEPAGE="
https://github.com/hamdanal/rich-argparse/
https://pypi.org/project/rich-argparse/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/rich-11.0.0[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
local -x COLUMNS=80
epytest
}