commit:     fa177fa30bb34460011dcce310ab53b92b44a156
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 20:55:21 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 21:22:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa177fa3

dev-python/argcomplete: Bump to 1.12.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/argcomplete/Manifest                  |  1 +
 dev-python/argcomplete/argcomplete-1.12.3.ebuild | 42 ++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest
index e93f068f90b..00a032d037b 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 00000000000..8e10b106c08
--- /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
+}

Reply via email to