dev-python/shtab: new package, add 1.7.0 promoted from ::guru

This is a dependency needed by >=greenbone-feed-sync-24.1.1.

Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35405
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Giuseppe Foti
2024-02-17 23:54:12 +01:00
committed by Florian Schmaus
parent cf10d73f79
commit cb62a0985a
3 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST shtab-1.7.0.tar.gz 45485 BLAKE2B d1aef26a621da7654e5816fda7ebf197cdf23aa3a485716038b6161826b2f1a624caf369bf59a7fd611cc28906debb83f016b167f06c2cfe9d7a53724054ad55 SHA512 82e5bba15007e07c180c5d9585605150f0a5f53b3859888fcdc28c0bc537762635794f7a8ddd6f81f5337d3c7375b925380fc3797198a803fc09635b65dd07f4

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>pastalian46@gmail.com</email>
<name>Takuya Wakazono</name>
</maintainer>
<maintainer type="person" proxied="yes">
<email>foti.giuseppe@gmail.com</email>
<name>Giuseppe Foti</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription lang="en">
Automatically generate shell tab completion scripts for Python CLI apps.
Outputs tab completion scripts for bash, zsh, tcsh.
shtab processes an argparse.ArgumentParser object to generate a tab
completion script for your shell.
</longdescription>
<stabilize-allarches/>
<upstream>
<remote-id type="github">iterative/shtab</remote-id>
<remote-id type="pypi">shtab</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..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}]"
distutils_enable_tests pytest
python_test() {
# Disable pytest-cov
epytest -o addopts=
}