From e394250a93a39ec23cc54e71b5a2c037fdb37a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 1 Jul 2025 04:31:52 +0200 Subject: [PATCH] dev-python/rich-argparse: New package, v1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New dependency of dev-python/cmd2. Signed-off-by: Michał Górny --- dev-python/rich-argparse/Manifest | 1 + dev-python/rich-argparse/metadata.xml | 12 +++++++ .../rich-argparse/rich-argparse-1.7.1.ebuild | 31 +++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 dev-python/rich-argparse/Manifest create mode 100644 dev-python/rich-argparse/metadata.xml create mode 100644 dev-python/rich-argparse/rich-argparse-1.7.1.ebuild diff --git a/dev-python/rich-argparse/Manifest b/dev-python/rich-argparse/Manifest new file mode 100644 index 0000000000000..80d0a4669e019 --- /dev/null +++ b/dev-python/rich-argparse/Manifest @@ -0,0 +1 @@ +DIST rich_argparse-1.7.1.tar.gz 38094 BLAKE2B 26c8d961c814b44907d63ce4a0f9d66995223d492f2f1d9f756d1e88c1873f0c93d3605dad4583205ff0e8bd4756c09d15b4a87e3b0374099f273a5dbac8c7ea SHA512 f4245bfa7eb4f44b97a6cf44bd5c81599c5136afbe73f74893b115dc409df9d3bcadf6db3fe723d767ad7a6def3bf96d3689c83b3f1372fce1e273ea9379104a diff --git a/dev-python/rich-argparse/metadata.xml b/dev-python/rich-argparse/metadata.xml new file mode 100644 index 0000000000000..966561341e749 --- /dev/null +++ b/dev-python/rich-argparse/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + hamdanal/rich-argparse + rich-argparse + + diff --git a/dev-python/rich-argparse/rich-argparse-1.7.1.ebuild b/dev-python/rich-argparse/rich-argparse-1.7.1.ebuild new file mode 100644 index 0000000000000..208c73f333f53 --- /dev/null +++ b/dev-python/rich-argparse/rich-argparse-1.7.1.ebuild @@ -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 +}