gentoo/dev-python/rich-click/rich-click-1.9.1.ebuild
Sam James efed91babc
dev-python/rich-click: Keyword 1.9.1 arm, #963179
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-22 00:16:15 +01:00

42 lines
812 B
Bash

# 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..13} )
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 ~arm ~arm64"
RDEPEND="
>=dev-python/click-8[${PYTHON_USEDEP}]
>=dev-python/rich-12[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/packaging-25[${PYTHON_USEDEP}]
>=dev-python/typer-0.15[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( inline-snapshot )
distutils_enable_tests pytest
python_test() {
epytest -o addopts=
}