diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-02 03:04:32 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-02 03:04:32 -0500 |
| commit | 062a52bd61f4f8d6a9eb95e7a1057ad2970ff3d2 (patch) | |
| tree | 4d40457c00bac6e801aa3ed267d67f0ab1696d63 /dev-python/argcomplete | |
| parent | ab43701157ca1662c9ed2c0da7aa0a795c2e3852 (diff) | |
| download | baldeagleos-repo-062a52bd61f4f8d6a9eb95e7a1057ad2970ff3d2.tar.gz baldeagleos-repo-062a52bd61f4f8d6a9eb95e7a1057ad2970ff3d2.tar.xz baldeagleos-repo-062a52bd61f4f8d6a9eb95e7a1057ad2970ff3d2.zip | |
Adding metadata
Diffstat (limited to 'dev-python/argcomplete')
| -rw-r--r-- | dev-python/argcomplete/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/argcomplete/argcomplete-3.7.0.ebuild | 51 | ||||
| -rw-r--r-- | dev-python/argcomplete/files/argcomplete-3.7.0-no-build-isolation.patch | 13 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index cf051db1054f..3af6e5a34dfd 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,2 +1,4 @@ DIST argcomplete-3.6.3.tar.gz 73754 BLAKE2B f910e9a10ce05b87faa58997938c406b9ba51a7f5770ae9d403331a1bef4b669e000bd316c055b8d2cf281ee232b640a300d1e152e0ac9c7619d4bf144fd97f0 SHA512 d07756a8439fd8f30ea2823bbbe35b102c6822af907eed5d43649a378a703d8c20394127a842c9d6ce0af50d333518450d15c29fc3471e178c681ad95fa43a0a DIST argcomplete-3.6.3.tar.gz.provenance 9621 BLAKE2B 19ff13f7e1d428bc331daa13002e37d716088642c77f1e748fb344021871179729913eab3639fd160b19e3d04864f45a4e4ccbaddb817348efd216def3e9e644 SHA512 2d40fb2cc0f503558e6ed679bac79c202485e5d2433afb6a2c864f2a491e16e9705f126647e850f95a4a51da62e68e91e17d88dc93e4df006ad6203c8db226bd +DIST argcomplete-3.7.0.tar.gz 73284 BLAKE2B 3ddc792c685e7c1360a26e3f08172a4af567560e2eda174b0db73194f81a12b918e4af31399aa095da2770de14eea42e28f0b0b37d2359004ea0be9a1a92f35f SHA512 040dafb7ed84632c730dc2889aa1b0480c632efd758662539cdcfb4e98748068b11ca2b336e17e2f0ddb735c7efcece648412e79a18343e5d65de2130cd8f50a +DIST argcomplete-3.7.0.tar.gz.provenance 10008 BLAKE2B 8c318a26b820764f90c1029e8c075ac2956607a1e8d6c618f5ca8edf553123b6411060b110375db7ca81920445bf5982bf40fb543a20b48c69f3677109282c62 SHA512 b3093040cfffd9e64ebf2f81775ef9b2d25e84ebb8594601182f15e9aaff52271f86a11b2f62cb06a46f56ff0ff0cba4a4f8b25086502fcbc4bbeedd55e676d3 diff --git a/dev-python/argcomplete/argcomplete-3.7.0.ebuild b/dev-python/argcomplete/argcomplete-3.7.0.ebuild new file mode 100644 index 000000000000..9430671528ae --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.7.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/kislyuk/argcomplete +PYTHON_COMPAT=( python3_{13..14} ) + +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 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pip is called as an external tool +# setuptools is needed for package tests +# zsh pin: https://github.com/kislyuk/argcomplete/issues/544 +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + app-shells/tcsh + ~app-shells/zsh-5.9 + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pip-19 + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" + +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" + + # run pip tests without build isolation, so they don't download + # setuptools + "${FILESDIR}/argcomplete-3.7.0-no-build-isolation.patch" +) + +python_test() { + "${EPYTHON}" test/test.py -v || die +} diff --git a/dev-python/argcomplete/files/argcomplete-3.7.0-no-build-isolation.patch b/dev-python/argcomplete/files/argcomplete-3.7.0-no-build-isolation.patch new file mode 100644 index 000000000000..ddc1ce533b18 --- /dev/null +++ b/dev-python/argcomplete/files/argcomplete-3.7.0-no-build-isolation.patch @@ -0,0 +1,13 @@ +diff --git a/test/test.py b/test/test.py +index 7b1e6ff..9c5e947 100755 +--- a/test/test.py ++++ b/test/test.py +@@ -1397,7 +1397,7 @@ class TestBashZshGlobalBase(TestBashZshBase): + self.sh.run_command("export PATH=$PATH:./bin") + self.sh.run_command("export PYTHONPATH=.:$PYTHONPATH") + test_package = os.path.join(TEST_DIR, "test_package") +- command = "pip install {} --target .".format(test_package) ++ command = "pip install {} --no-build-isolation --target .".format(test_package) + if not wheel: + command += " --no-binary :all:" + install_output = self.sh.run_command(command) |
