diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-19 22:55:21 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-19 23:22:52 +0200 |
commit | fa177fa30bb34460011dcce310ab53b92b44a156 (patch) | |
tree | abebbb0c11f1f196c4ceb3ab9a126436b57a03ab /dev-python/argcomplete | |
parent | dev-python/lmdb: Bump to 1.2.1 (NFC) (diff) | |
download | gentoo-fa177fa30bb34460011dcce310ab53b92b44a156.tar.gz gentoo-fa177fa30bb34460011dcce310ab53b92b44a156.tar.bz2 gentoo-fa177fa30bb34460011dcce310ab53b92b44a156.zip |
dev-python/argcomplete: Bump to 1.12.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/argcomplete')
-rw-r--r-- | dev-python/argcomplete/Manifest | 1 | ||||
-rw-r--r-- | dev-python/argcomplete/argcomplete-1.12.3.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index e93f068f90bc..00a032d037b1 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1 +1,2 @@ DIST argcomplete-1.12.2.tar.gz 53861 BLAKE2B 59a8472818aef4967cb978302bd98b206b206beaf37ac7743b1e3460e3f184e4fe2dccbb48e1b436dfd1127248d3fa2f10ace81ba35c744d93adb5efedd7e470 SHA512 3099507eac285b396df1c02d7e7bdedc1dd26aaf599a81147ebaabe211a97362ddb94533c9bc733d30a9fe84fcb9d6b52794e4c12f99f881b320280d0d1479f0 +DIST argcomplete-1.12.3.tar.gz 76128 BLAKE2B 6924e53af37e4ea614dde4c76f44e5c2b777f8daa8fa8db53d6cbe06f56f2ce3edd11a9baad6fb2571e701fb74e02fbb8eed8ce1067c599fbb156ebd8289cccd SHA512 b302d2b1250b7159177a8491b2595c2166a2b96ac4d98cf45202282541f7da53c9f272ec778133d1734a22a07d490652b9d4c956af727397b2f6767a9a445b63 diff --git a/dev-python/argcomplete/argcomplete-1.12.3.ebuild b/dev-python/argcomplete/argcomplete-1.12.3.ebuild new file mode 100644 index 000000000000..8e10b106c08c --- /dev/null +++ b/dev-python/argcomplete/argcomplete-1.12.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} 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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + <dev-python/importlib_metadata-5[${PYTHON_USEDEP}] + ' python3_7 pypy3)" +# 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 +} |