diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /dev-python/argcomplete | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'dev-python/argcomplete')
-rw-r--r-- | dev-python/argcomplete/Manifest | 2 | ||||
-rw-r--r-- | dev-python/argcomplete/argcomplete-2.0.0.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 6b4840da7bc7..0d56110bb5bb 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,3 +1,5 @@ DIST argcomplete-1.12.3.tar.gz 76128 BLAKE2B 6924e53af37e4ea614dde4c76f44e5c2b777f8daa8fa8db53d6cbe06f56f2ce3edd11a9baad6fb2571e701fb74e02fbb8eed8ce1067c599fbb156ebd8289cccd SHA512 b302d2b1250b7159177a8491b2595c2166a2b96ac4d98cf45202282541f7da53c9f272ec778133d1734a22a07d490652b9d4c956af727397b2f6767a9a445b63 +DIST argcomplete-2.0.0.tar.gz 54164 BLAKE2B 77da149b07d4019f8d6f3dda8fd9bbe9953c25b8461ab0746e1c2eb4d1bb51a9007c1f046ad9dc41dc5f8f248fbdf18ad7d921cf644fbc7580661084fd1427a1 SHA512 ef2a551e1372ecf3739006fe2c020e9f7ec53c5809680dcd3d9d552290565d8d09ba22bcc989f40644120a129b101f8e2e8ed34723e947a7d8d7884e9b502c31 EBUILD argcomplete-1.12.3-r1.ebuild 903 BLAKE2B cbd90ceeb0a29aa70e4cfda9156183624066e543d0dfd5ea5228c9346e6b4b4717eb1010b9a961b22f71f75f0786e738596654f6b56e3c7d7473dedfd2b4a020 SHA512 24218f36ecee2c95fa460775aae935f6ff618ba314c1b32d1062b5adfcf42fb0259592ad5e43557155f8fee6ef573f12653c5609d0475e355bdceeb8f0774729 +EBUILD argcomplete-2.0.0.ebuild 910 BLAKE2B 05f7df1fa93a823e0dce76543964d01c97d411a2e434178a95ff1d3c7b27e0bcf84cb5d11aeca40103b06ff1144ed8d9468daa78e0c836a074b655da1cfec55d SHA512 78b63a7776a7f0ae1ac102c5d49659fcae8dccaa2104130c791e260d5f51f215e928c81e0598e541d05acdbe059841c9b8e9cdfee7d0bd9f96837d420e46c254 MISC metadata.xml 411 BLAKE2B 963cfdba9183fde9e97c534345164d26be569d841dcc6fd274601b18d5de2ae97fa837b0acfdc59616c5d19cc54ea368547ffd901f90239cdfb5ba08e8721607 SHA512 22db237979be34053ad7201f599d576a7756b71e6b75c40c2808d47f276cce6d3594ae46dcaec5aa5adab9e9e24e11d47bb9044a8b1a146163d66687965cf5b7 diff --git a/dev-python/argcomplete/argcomplete-2.0.0.ebuild b/dev-python/argcomplete/argcomplete-2.0.0.ebuild new file mode 100644 index 000000000000..c4bf6f18595f --- /dev/null +++ b/dev-python/argcomplete/argcomplete-2.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Bash tab completion for argparse" +HOMEPAGE="https://pypi.org/project/argcomplete/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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_test() { + # workaround new readline defaults + echo "set enable-bracketed-paste off" > "${T}"/inputrc || die + local -x INPUTRC="${T}"/inputrc + distutils-r1_src_test +} + +python_test() { + "${EPYTHON}" test/test.py -v || die +} |