diff options
Diffstat (limited to 'dev-python/argcomplete')
-rw-r--r-- | dev-python/argcomplete/Manifest | 2 | ||||
-rw-r--r-- | dev-python/argcomplete/argcomplete-3.4.0.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 533ec155b9e6..3ae8f1e29fbd 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,5 +1,7 @@ AUX argcomplete-3.1.6-timeout.patch 945 BLAKE2B dcdfadbdef547d45013eee33d00166b98eb6621a55f5e399cc7d330541a95118aff4a1646a85a1351209f88ff0e74d66e2468ffcf3db7e91d44ef453cc9c73e9 SHA512 fc26fc219d88a74d49245a2d545cb8040fb773fc7a948847380d4d343f19650994771a948fce99311cab7b52b3e040cf3f58291a0ac50b4a4f262dbb28c1bf85 AUX argcomplete-3.3.0-test-bashrc.patch 474 BLAKE2B 925505ed0bd7f5ec451873e354db63834cff5fe909654d49dcf95945ad19cd868c05d7e78d2159ebffddc0d0c45cbbfdd4d6c3899bf890018dba65395d4c6e90 SHA512 a6e746cea01842cc48cff58ca0ce8cf4461a281bbb4f450cae7f1b224e63f5e3154e7c7675a87f6e49084c5f0320e34e0b763a51c82fbd768955e4d70ac98257 DIST argcomplete-3.3.0.tar.gz 81832 BLAKE2B 63778dc48f90bb06dbf59c8d4d94ca905c9b188ec5b64e3a8cf7604d66cf075b31350f241da00e460d97b1920c620d4fbf8df772485987897a698cec060b6ec9 SHA512 30776b7e2dc3ee1f7dfcd665d2ae6e403b09644829c1cd7a30ce80e39c6bd7331cc0b7bd7d6cec58a409ef6ec209ca6b1cca0888e83a7a9a228658fa72f6e578 +DIST argcomplete-3.4.0.tar.gz 82275 BLAKE2B 18b81aa5ee0c148a3b935f157f4c39b0ade79b36c8e3aa94aa7af8a424a08793a4cf661cb2431c201d5eead02e12c35b78d351310ff4e4e750bf7d7dc702ca89 SHA512 bd619a34edf1f1d05bdfab7fa830d1fc5375bc292dc95b95ddc4d3bfaced5728067e6ad0a901f672b7e0d5a550c10b00e0851f83cf9b358301c037da256a4a56 EBUILD argcomplete-3.3.0.ebuild 1135 BLAKE2B a5cc7ca5f720e71bdd228ab335b689b4b65010652030f01bad54fbca282e0c1cdfb02bcdf10e8bd7066fef4efa16e98a8c0d80f537975574992484501d6e4b23 SHA512 f5427276d1f833fad924038e1e82168b411912f18bdb1742b9f791c3ce729737b1a879dc443ddd2353e1de10f4b40baf2ead807ef6732ee88fb9d4a5e03bb0cf +EBUILD argcomplete-3.4.0.ebuild 1054 BLAKE2B ddc6a1d63df7e5b658daa0297544c7b6de30a58b9e2d541ffb8d335c26a8786567356aef5fee6aec5e37fc2a30b92a87ed81c32e1c25d86b3fcc91a7b4b9be77 SHA512 79c1a03efbdd3dfc9390af69b90a0c4f17d0b47ae8f350002e71bfc4b9eb259e86a3f87dbe7dd26065c6f5a8e8d2cc5397f5bc58a8596b819c71edb81f4802e4 MISC metadata.xml 411 BLAKE2B 963cfdba9183fde9e97c534345164d26be569d841dcc6fd274601b18d5de2ae97fa837b0acfdc59616c5d19cc54ea368547ffd901f90239cdfb5ba08e8721607 SHA512 22db237979be34053ad7201f599d576a7756b71e6b75c40c2808d47f276cce6d3594ae46dcaec5aa5adab9e9e24e11d47bb9044a8b1a146163d66687965cf5b7 diff --git a/dev-python/argcomplete/argcomplete-3.4.0.ebuild b/dev-python/argcomplete/argcomplete-3.4.0.ebuild new file mode 100644 index 000000000000..645def2f41b7 --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} 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 + ) +" + +PATCHES=( + # increase test timeouts -- this is particularly necessary + # for entry point tests because they read metadata of all installed + # packages which can take real long on systems with lots of packages + "${FILESDIR}/argcomplete-3.1.6-timeout.patch" +) + +python_test() { + "${EPYTHON}" test/test.py -v || die +} |