diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 5cb0bebe265ea..d2fcabd3cd24b 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1 +1,2 @@ DIST argcomplete-3.5.2.tar.gz 82341 BLAKE2B ddc118d562a742bda9f552c62f9b873010c7d660267d606a46ae98453384bf2c9ebc90b5fdaee675f65cf9a9c27a8d5fcc2484e9a54d83d6ac0e51f67ef60766 SHA512 6c852b8cf81d0dc174c8053b5d8310fe716d8491380e7d98018c5788d83a4c01167963d6e713b30db892090e7140e19be092d35f2c8137292ed48c98fd835e8e +DIST argcomplete-3.5.3.tar.gz 72999 BLAKE2B a31ff9ff63fbbca0b132948b6cd0c126e355eadecc1b84004d6bde90ac5f5d010d492e6addc2e926caa9ac8323e6fa9b6e0c41ee48ecd0695da50c56bd9ee5b3 SHA512 f22319ad0a37570a33ad9b674ba51af50e1a21ddd21950778a6804ee62e08352cdfb73387116f6669525a7b7582a567bda06d3b63084edcabea31b4235cb7624 diff --git a/dev-python/argcomplete/argcomplete-3.5.3.ebuild b/dev-python/argcomplete/argcomplete-3.5.3.ebuild new file mode 100644 index 0000000000000..dd35ffbe1ba37 --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.5.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +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 ~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=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + 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 +}