summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-22 06:48:39 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-22 07:05:34 +0100
commit7e6ca20213139cf88e5d9b0a8fafa3f12f83b3b2 (patch)
tree3fffc8f33fae7ccffddda1f6d85fd9afc1255c6b /dev-python
parentpypi.eclass: Fix typo, thanks to laumann for reporting (diff)
downloadgentoo-7e6ca20213139cf88e5d9b0a8fafa3f12f83b3b2.tar.gz
gentoo-7e6ca20213139cf88e5d9b0a8fafa3f12f83b3b2.tar.bz2
gentoo-7e6ca20213139cf88e5d9b0a8fafa3f12f83b3b2.zip
dev-python/argcomplete: Bump to 3.0.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/argcomplete/Manifest1
-rw-r--r--dev-python/argcomplete/argcomplete-3.0.4.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest
index d78bc7044b15..41bf582c1b95 100644
--- a/dev-python/argcomplete/Manifest
+++ b/dev-python/argcomplete/Manifest
@@ -4,3 +4,4 @@ DIST argcomplete-2.1.1.tar.gz 54042 BLAKE2B f4d1825306a17a873e3b3a9f23fea20ba29c
DIST argcomplete-2.1.2.tar.gz 54114 BLAKE2B 19d29eb26c8d77998dcba51c263f49800ff98f22038964faf63d7b5963e8d62ca71ade9493937014f2e030add8a7d1032e2fdffce28765e12164906499cd2bcb SHA512 a91e3c0274c780da173659524f166b98f55342e54fbd38583757e65350b2288ea0e7f5acee7cb83b11478eda1b9b0f82ae6b0f559d7104c4ed67a6e1c9befa24
DIST argcomplete-3.0.0.tar.gz 54666 BLAKE2B 98ea63847232e17a485f2a5484fc58d2154281046c190c98f542ee9c3e82ee13d4504056a8da29a093632693badb9a93067ad64b28ffa3d58d22de9c0a99f21a SHA512 ecb88f6487fe6b4e7ecd8b504496bd2e4ffb4ca9dc0e27557d6db49b5b07610f6a8560e15cb5a5ad49af71e5b6c1d825a2e8a72731b2c39ba3907c2a9fe0a14f
DIST argcomplete-3.0.3.tar.gz 54772 BLAKE2B 59ad1fc393f37875c152e7bda958cf185bb4d5cf6b331d4c2847f09a040365449906bdce3eb6bd251d569e3fa50bafbdb2f328c0bcc7f2b7dc2608c562b694d0 SHA512 413407d6f54708d6321b6ab67bab5755084846588aa4fceabe35ea4de95d652887847c6df4739da51ae89aeadac90e0f6cb0e1d92237267fa92502e2c8c27070
+DIST argcomplete-3.0.4.tar.gz 55160 BLAKE2B bb4453d9cfc5a82d77d96068845c4aaa187fd9fef4751d1f115700e496eb97d74fc1c677d0fccfa14ce4ae3dbd205ea68a684d98e88be3731712efe73a5db858 SHA512 0c38f7b2a26045717e1ee52d812d8b9d0688e484201b100b4ad1b7a881e0ef61b793f979d620edcc0a79f512a8e87dbc81b84d17a7857d43192fdd3adc1c6733
diff --git a/dev-python/argcomplete/argcomplete-3.0.4.ebuild b/dev-python/argcomplete/argcomplete-3.0.4.ebuild
new file mode 100644
index 000000000000..4c9150727c75
--- /dev/null
+++ b/dev-python/argcomplete/argcomplete-3.0.4.ebuild
@@ -0,0 +1,40 @@
+# 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_{9..11} 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
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ >=dev-python/pip-19
+ )
+"
+
+src_prepare() {
+ sed -i -e 's:timeout=5:timeout=30:' test/test.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ "${EPYTHON}" test/test.py -v || die
+}