summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-09-17 06:25:40 +0200
committerMichał Górny <mgorny@gentoo.org>2023-09-17 06:44:42 +0200
commitf49d750f1804bd55779f16dfa49b1a04caf67f41 (patch)
tree2cfc908ab431af6c7e09bcb6d20b9a65081e8b37 /dev-python/argcomplete
parentdev-python/pathvalidate: Bump to 3.2.0 (diff)
downloadgentoo-f49d750f1804bd55779f16dfa49b1a04caf67f41.tar.gz
gentoo-f49d750f1804bd55779f16dfa49b1a04caf67f41.tar.bz2
gentoo-f49d750f1804bd55779f16dfa49b1a04caf67f41.zip
dev-python/argcomplete: Bump to 3.1.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/argcomplete')
-rw-r--r--dev-python/argcomplete/Manifest1
-rw-r--r--dev-python/argcomplete/argcomplete-3.1.2.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest
index b153419f377c..ae4d14d30cf8 100644
--- a/dev-python/argcomplete/Manifest
+++ b/dev-python/argcomplete/Manifest
@@ -1 +1,2 @@
DIST argcomplete-3.1.0.tar.gz 89193 BLAKE2B de081c6c2a053835fde0e6fd446e7f310fae2e39dfd7dd0afd12c350ea6518623115f575a5b4479f466071f6c699ff336ee19dbe4ef02ae8e886ceef53cb0afc SHA512 43c28971661c1af0de9a69b05925ef83b6a8e9b007567d2e4a6344d2c1f34ee280e4306718eb6abad0883a96a2f8b4f4242f1436b0e7709944f4ec48a119e66d
+DIST argcomplete-3.1.2.tar.gz 89541 BLAKE2B ca00006d423244096bc2589b26a06826a4ba5541ab73176425a022a35635df3d575a9d6afe99579d7978e20d6b990f0338af6d4525337b135b27084df6352610 SHA512 661b48548e83e2e7a056f8f1151a81eee72c922951e5d3b7194fa0a08ff77c51eb5043237b9f460e5cb56751d9d159a0b43173b951e5f24094b53fd345cb8e85
diff --git a/dev-python/argcomplete/argcomplete-3.1.2.ebuild b/dev-python/argcomplete/argcomplete-3.1.2.ebuild
new file mode 100644
index 000000000000..82dbb5a4320f
--- /dev/null
+++ b/dev-python/argcomplete/argcomplete-3.1.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 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="Bash tab completion for argparse"
+HOMEPAGE="
+ https://github.com/kislyuk/argcomplete/
+ https://pypi.org/project/argcomplete/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# pip is called as an external tool
+BDEPEND="
+ test? (
+ app-shells/fish
+ app-shells/tcsh
+ app-shells/zsh
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ >=dev-python/pip-19
+ )
+"
+
+src_prepare() {
+ sed -i -e 's:timeout=5:timeout=180:' test/test.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ "${EPYTHON}" test/test.py -v || die
+}