commit: e394250a93a39ec23cc54e71b5a2c037fdb37a2e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Jul 1 02:31:52 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Jul 1 02:31:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e394250a
dev-python/rich-argparse: New package, v1.7.1 New dependency of dev-python/cmd2. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> 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(+) diff --git a/dev-python/rich-argparse/Manifest b/dev-python/rich-argparse/Manifest new file mode 100644 index 000000000000..80d0a4669e01 --- /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 000000000000..966561341e74 --- /dev/null +++ b/dev-python/rich-argparse/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="project"> + <email>[email protected]</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">hamdanal/rich-argparse</remote-id> + <remote-id type="pypi">rich-argparse</remote-id> + </upstream> +</pkgmetadata> 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 000000000000..208c73f333f5 --- /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 +}
