commit: cc8ca6aef6b84ad76dbdfa1883359db2603bc8ff Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net> AuthorDate: Sun Aug 3 12:41:02 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Aug 13 14:06:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8ca6ae
dev-python/rich-click: new package, add 1.8.9 move dev-python/rich-click from ::guru to ::gentoo needed as runtime dependency for dev-embedded/esptool-5 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net> Part-of: https://github.com/gentoo/gentoo/pull/43183 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/rich-click/Manifest | 1 + dev-python/rich-click/metadata.xml | 22 ++++++++++++++++ dev-python/rich-click/rich-click-1.8.9.ebuild | 36 +++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/dev-python/rich-click/Manifest b/dev-python/rich-click/Manifest new file mode 100644 index 000000000000..e6b41b81e376 --- /dev/null +++ b/dev-python/rich-click/Manifest @@ -0,0 +1 @@ +DIST rich-click-1.8.9.gh.tar.gz 8142387 BLAKE2B de7aa54989747d47c2d147cec8235c4619a90b5a536266dbf2f499f704c3671bb4697bbcb23b0d0827caaf52d65dd29157f01918d29abc9c469fdd6c84af0c84 SHA512 6655ee3ac54fdae5a1221ef2ceaae35aa2ed8381c29f9808bb852d0790426a90d1fcb1a82faa61a22112946b988f891fc76dc3976ae756702458c547d7014745 diff --git a/dev-python/rich-click/metadata.xml b/dev-python/rich-click/metadata.xml new file mode 100644 index 000000000000..1d245b80dcd0 --- /dev/null +++ b/dev-python/rich-click/metadata.xml @@ -0,0 +1,22 @@ +<?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> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">ewels/rich-click</remote-id> + <remote-id type="pypi">rich-click</remote-id> + <bugs-to>https://github.com/ewels/rich-click/issues</bugs-to> + <maintainer> + <name>Phil Ewels</name> + <email>[email protected]</email> + </maintainer> + <maintainer> + <name>Daniel Reeves</name> + <email>[email protected]</email> + </maintainer> + </upstream> +</pkgmetadata> diff --git a/dev-python/rich-click/rich-click-1.8.9.ebuild b/dev-python/rich-click/rich-click-1.8.9.ebuild new file mode 100644 index 000000000000..5c2037c06948 --- /dev/null +++ b/dev-python/rich-click/rich-click-1.8.9.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 + +DESCRIPTION="Format click help output nicely with rich" +HOMEPAGE=" + https://pypi.org/project/rich-click/ + https://github.com/ewels/rich-click +" +SRC_URI="https://github.com/ewels/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/click-7[${PYTHON_USEDEP}] + >=dev-python/rich-10.7[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( ) + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + touch tests/fixtures/__init__.py || die +}
