mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
dev-python/rich-click: add 1.8.9
Signed-off-by: jan Anja (cybertailor) <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST rich-click-1.8.8.gh.tar.gz 8141426 BLAKE2B 9288f7818849b82e65c4c589597dbf0493e37d18f4cbbb81469a0b43ca611c091b4fce5df968d428c4733ce213d52cffddbb2d0516051275544b7e865771d3ff SHA512 45b954bb2f402fc4d9b837750250d92d0fd547f83bd893df75f5a2cb350177ae65f665112e8727c47c5ad31d974b66a685641574d7aa88a52a93098cbae9ff94
|
||||
DIST rich-click-1.8.9.gh.tar.gz 8142387 BLAKE2B de7aa54989747d47c2d147cec8235c4619a90b5a536266dbf2f499f704c3671bb4697bbcb23b0d0827caaf52d65dd29157f01918d29abc9c469fdd6c84af0c84 SHA512 6655ee3ac54fdae5a1221ef2ceaae35aa2ed8381c29f9808bb852d0790426a90d1fcb1a82faa61a22112946b988f891fc76dc3976ae756702458c547d7014745
|
||||
|
||||
41
dev-python/rich-click/rich-click-1.8.9.ebuild
Normal file
41
dev-python/rich-click/rich-click-1.8.9.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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} pypy3_11 )
|
||||
|
||||
inherit click-app 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}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
click-app_enable_completions rich-click
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
touch tests/fixtures/__init__.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user