summaryrefslogtreecommitdiff
path: root/dev-python/shtab/shtab-1.7.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-02-24 22:06:56 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-02-24 22:06:56 +0000
commit0261dc041f71d8689e262bb297ddd2394c8e49e5 (patch)
tree7a7a696ffe8d777d8ffbc46a296b942c26161332 /dev-python/shtab/shtab-1.7.0.ebuild
parent4b10c4427684b9ac52f7eb01e53d21540edf47b5 (diff)
downloadsrcux-0261dc041f71d8689e262bb297ddd2394c8e49e5.tar.gz
srcux-0261dc041f71d8689e262bb297ddd2394c8e49e5.tar.xz
srcux-0261dc041f71d8689e262bb297ddd2394c8e49e5.zip
Adding metadata
Diffstat (limited to 'dev-python/shtab/shtab-1.7.0.ebuild')
-rw-r--r--dev-python/shtab/shtab-1.7.0.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/shtab/shtab-1.7.0.ebuild b/dev-python/shtab/shtab-1.7.0.ebuild
new file mode 100644
index 000000000000..de08bd963f0f
--- /dev/null
+++ b/dev-python/shtab/shtab-1.7.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
+
+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}]
+ test? ( dev-python/pytest-timeout[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ # Disable pytest-cov
+ epytest -o addopts=
+}