From c517b4bfcb4979eaa7c7c8bb0b053c8f415e765b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 3 Apr 2025 08:08:30 +0200 Subject: [PATCH] dev-python/argcomplete: Bump to 3.6.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/argcomplete/Manifest | 1 + .../argcomplete/argcomplete-3.6.2.ebuild | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-python/argcomplete/argcomplete-3.6.2.ebuild diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index f4280c4149e97..b022724e699ed 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,2 +1,3 @@ DIST argcomplete-3.6.0.tar.gz 73135 BLAKE2B 3e1cd3f28652278483ba7bfb5c73308580ee390da388a0e23932c553d2c79d45a4e7d6a7bd8c01299080caf70c0ced1d04b3708dcdc6ed975f00170d22eb81e8 SHA512 cccc7f8b760cee5e43b03d97a4bb8f1569e82dd8761a540bb6abb54f8ed2fff09c8b8491c4e175360c00b0e75a5e1b7b4b53734db969e250aff5fbb74dcd0514 DIST argcomplete-3.6.1.tar.gz 73474 BLAKE2B 096beabe258c155e13ba6f60edbab5e9f01f0a8b5aa93141082b8590ea46b3ecbe905960cc5cb1956aab36ba04724ce5f18066ab99db10e3b49acfbd5535cbca SHA512 948f83f42e8fcb7c8a5aac614413d1d33ec6aedb5ef578cb3a88a148fc334d5072ac269c03fbbfec4f845f4492a5918bbf55fd6c765448bbd56edf24704b3616 +DIST argcomplete-3.6.2.tar.gz 73403 BLAKE2B 3b998ade06ea6a22acaa91b78b3e5770c02b00926e028c24a8ed59fee3a8edf2aa234c03581f59354728fc54f2ce01a6526930b8f160fbdfbbefe73d5b2aae48 SHA512 19843c958a6bd5b48dd86c3f5140f74a21cec6df48adef480758197f32ea961cfb19642f6f16297fed10db93ca16df85966a2ac4a6d809b987fd528221299ea8 diff --git a/dev-python/argcomplete/argcomplete-3.6.2.ebuild b/dev-python/argcomplete/argcomplete-3.6.2.ebuild new file mode 100644 index 0000000000000..6cc65157ba4dc --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.6.2.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 pypy3_11 ) + +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 +}