diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-20 05:39:35 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-20 06:36:10 +0100 |
commit | 6d817cc961298e54d0de1d43f84da473a58d13a3 (patch) | |
tree | ffb72596a0476231b073685273a89a2c7c3421f3 /dev-python/argcomplete | |
parent | media-libs/kvazaar: add 2.2.0, wire up tests (diff) | |
download | gentoo-6d817cc961298e54d0de1d43f84da473a58d13a3.tar.gz gentoo-6d817cc961298e54d0de1d43f84da473a58d13a3.tar.bz2 gentoo-6d817cc961298e54d0de1d43f84da473a58d13a3.zip |
dev-python/argcomplete: Bump to 3.0.0
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-3.0.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 2bca546cb267..fd628a4f3a9d 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -2,3 +2,4 @@ DIST argcomplete-2.0.0.tar.gz 54164 BLAKE2B 77da149b07d4019f8d6f3dda8fd9bbe9953c 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 +DIST argcomplete-3.0.0.tar.gz 54666 BLAKE2B 98ea63847232e17a485f2a5484fc58d2154281046c190c98f542ee9c3e82ee13d4504056a8da29a093632693badb9a93067ad64b28ffa3d58d22de9c0a99f21a SHA512 ecb88f6487fe6b4e7ecd8b504496bd2e4ffb4ca9dc0e27557d6db49b5b07610f6a8560e15cb5a5ad49af71e5b6c1d825a2e8a72731b2c39ba3907c2a9fe0a14f diff --git a/dev-python/argcomplete/argcomplete-3.0.0.ebuild b/dev-python/argcomplete/argcomplete-3.0.0.ebuild new file mode 100644 index 000000000000..4c9150727c75 --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.0.0.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 +} |