diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-18 07:03:07 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-18 07:03:07 +0100 |
commit | 9e42157b8e97829c8c4a7cc7105da3f2c11b7e03 (patch) | |
tree | d3289556ee409d4990764829bb8dc388805db375 /dev-python/argcomplete | |
parent | sys-fs/squashfs-tools: Add GH remote-id (diff) | |
download | gentoo-9e42157b8e97829c8c4a7cc7105da3f2c11b7e03.tar.gz gentoo-9e42157b8e97829c8c4a7cc7105da3f2c11b7e03.tar.bz2 gentoo-9e42157b8e97829c8c4a7cc7105da3f2c11b7e03.zip |
dev-python/argcomplete: Bump to 2.1.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/argcomplete')
-rw-r--r-- | dev-python/argcomplete/Manifest | 1 | ||||
-rw-r--r-- | dev-python/argcomplete/argcomplete-2.1.2.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 36717a35552b..2bca546cb267 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,3 +1,4 @@ DIST argcomplete-2.0.0.tar.gz 54164 BLAKE2B 77da149b07d4019f8d6f3dda8fd9bbe9953c25b8461ab0746e1c2eb4d1bb51a9007c1f046ad9dc41dc5f8f248fbdf18ad7d921cf644fbc7580661084fd1427a1 SHA512 ef2a551e1372ecf3739006fe2c020e9f7ec53c5809680dcd3d9d552290565d8d09ba22bcc989f40644120a129b101f8e2e8ed34723e947a7d8d7884e9b502c31 DIST argcomplete-2.0.5.tar.gz 54665 BLAKE2B 33b3c1d6ba4b6fe6ac959db050d4944411a3ef6e737b9ae16f70d1e2cdd6cea0c2534ac4f4edce63df3606a18b9d8e16831a14db655cdd9cb4c2ad3afed60c72 SHA512 6354f2f67a5d0ff35539c2c4fa5ab5b78d3e57648ee2436da7b3916044d568d8558316a3e2b34581c97540c4a9f2191869fb215f0020ce09416d7b31377252e5 DIST argcomplete-2.1.1.tar.gz 54042 BLAKE2B f4d1825306a17a873e3b3a9f23fea20ba29c4956ffc3228de4737b5be6280a3f29214a9e96bf5123220b2bd0b0fd88e77aa4d1487ef715af4e353fab0e2827a5 SHA512 3d37059713d953037421f2a3a2de1f3de7d2073423bce16187ffd47d24edbb72778ca2513ecb52c68ed6a3f89999da85770af36d07fded4ab1b41693a2ef2836 +DIST argcomplete-2.1.2.tar.gz 54114 BLAKE2B 19d29eb26c8d77998dcba51c263f49800ff98f22038964faf63d7b5963e8d62ca71ade9493937014f2e030add8a7d1032e2fdffce28765e12164906499cd2bcb SHA512 a91e3c0274c780da173659524f166b98f55342e54fbd38583757e65350b2288ea0e7f5acee7cb83b11478eda1b9b0f82ae6b0f559d7104c4ed67a6e1c9befa24 diff --git a/dev-python/argcomplete/argcomplete-2.1.2.ebuild b/dev-python/argcomplete/argcomplete-2.1.2.ebuild new file mode 100644 index 000000000000..4c9150727c75 --- /dev/null +++ b/dev-python/argcomplete/argcomplete-2.1.2.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 +} |