dev-python/rich-click: new package, add 1.8.3

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2024-10-29 06:02:17 +05:00
parent 0f2b27b5f1
commit 539dc04c5e
3 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
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[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
touch tests/fixtures/__init__.py || die
}