dev-python/shtab: new package, add 1.6.5

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-02-08 01:08:51 +09:00
parent 3097565be3
commit c7f3d0c234
4 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# 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 pypi
DESCRIPTION="Automagic shell tab completion for Python CLI applications"
HOMEPAGE="
https://github.com/iterative/shtab
https://pypi.org/project/shtab/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
PATCHES=( "${FILESDIR}/${P}-pyproject.patch" )
distutils_enable_tests pytest
python_test() {
# Disable pytest-cov
epytest -o addopts=
}