summaryrefslogtreecommitdiff
path: root/dev-python/rich-argparse/rich-argparse-1.7.2.ebuild
blob: 65f507857de3840c843fffa34b00575c1962898d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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="~alpha amd64 arm arm64 ~mips ~ppc64 ~riscv ~s390 x86"

RDEPEND="
	>=dev-python/rich-11.0.0[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_test() {
	local -x COLUMNS=80
	epytest
}