summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-26 19:31:26 +0200
committerMichał Górny <mgorny@gentoo.org>2023-03-26 20:02:17 +0200
commit450cfc4c7e6d63c41504b6382969255ee1f1d49a (patch)
tree816e1d81589fd35cf67f0f80400b061afda2df86 /dev-python/argcomplete
parentapp-emacs/yasnippet: update HOMEPAGE (diff)
downloadgentoo-450cfc4c7e6d63c41504b6382969255ee1f1d49a.tar.gz
gentoo-450cfc4c7e6d63c41504b6382969255ee1f1d49a.tar.bz2
gentoo-450cfc4c7e6d63c41504b6382969255ee1f1d49a.zip
dev-python/argcomplete: Bump to 3.0.5
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.0.5.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest
index 41bf582c1b95..7245917d5741 100644
--- a/dev-python/argcomplete/Manifest
+++ b/dev-python/argcomplete/Manifest
@@ -5,3 +5,4 @@ DIST argcomplete-2.1.2.tar.gz 54114 BLAKE2B 19d29eb26c8d77998dcba51c263f49800ff9
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
+DIST argcomplete-3.0.5.tar.gz 65470 BLAKE2B ca9208edf7688aa7ff9a224befa2a84d2c9b6bdf4077a805efb107f256f98f0477c2c900dfb3c3bee3c08973aab8777cf6b01ab1a4698347e3ac457f131df0a0 SHA512 7ee0e8b961e4e9ba76194587da481908ac064306f1cd4fc0886d6facb4f2dab409dd1080ab440be761caebe358139cc8bc67fb720dd1d8e3f6105595dc8a5858
diff --git a/dev-python/argcomplete/argcomplete-3.0.5.ebuild b/dev-python/argcomplete/argcomplete-3.0.5.ebuild
new file mode 100644
index 000000000000..4c9150727c75
--- /dev/null
+++ b/dev-python/argcomplete/argcomplete-3.0.5.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
+}