dev-python/argcomplete: version bump 1.6.0
authorAnthony Ryan <anthonyryan1@gmail.com>
Sat, 12 Nov 2016 01:49:19 +0000 (20:49 -0500)
committerDavid Seifert <soap@gentoo.org>
Sun, 13 Nov 2016 21:48:59 +0000 (22:48 +0100)
* EAPI=6
* Add pypy & pypy3 to PYTHON_COMPAT (tested upstream)
* Add ~arm to keywords (tested by me)
* Add new dependency on dev-python/pexpect for testing
* Add github to upstream metadata
Closes: https://github.com/gentoo/gentoo/pull/2812

Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/argcomplete/Manifest
dev-python/argcomplete/argcomplete-1.6.0.ebuild [new file with mode: 0644]
dev-python/argcomplete/metadata.xml

index e2d6b2b4c4f986eb052f51fc5c7b55b15041057d..a32633048ec995f1186c3c52cbfc5189fec8c1bf 100644 (file)
@@ -1 +1,2 @@
 DIST argcomplete-1.4.1.tar.gz 37219 SHA256 a7b5fa8d1acb69e49b3c6b3f6225bc709092e0c7f621311bac507a4f6efe609d SHA512 3e9fa64fca93baf14fddd653947ff0269004e8783de0567931dafb9e4d0dfff2e2450ef6df331a4d648f5ce1d817a422f52d8d30b94315cd54fd82102467ded5 WHIRLPOOL ee11a1f16f44b204502bc0a1246626305cbdddf8633608fbb5575270e3568b4995ae449ccf309f12225f29099dac117aa21c66cd14f53d0d90fd6abfc637d7e7
+DIST argcomplete-1.6.0.tar.gz 39685 SHA256 d37abde525436465a5126084a89630887bdafd03fddb1bd7b40efc01dbcff9f0 SHA512 6a2a6a4af3ddb5bea0022bf5e2acb123d4c0505d979887ebb82ed5c8a591d59d35b57084483428d030e0507f3cd149953146f49d4a7b0290bc88648cea3eb7a3 WHIRLPOOL 106a23798ebe624ed9548023f00d970bb119b7b35d763f57be694a032dddaba933622eee5c655b6ce321d7c7297604219ae2a0dd681e5ef836aac53db03713ad
diff --git a/dev-python/argcomplete/argcomplete-1.6.0.ebuild b/dev-python/argcomplete/argcomplete-1.6.0.ebuild
new file mode 100644 (file)
index 0000000..51e0aa6
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy pypy3 )
+
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="Bash tab completion for argparse"
+HOMEPAGE="https://pypi.python.org/pypi/argcomplete"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86 ~arm ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pexpect[${PYTHON_USEDEP}] )"
+
+python_test() {
+       "${EPYTHON}" test/test.py || die
+}
+
+python_install_all() {
+       distutils-r1_python_install_all
+       newbashcomp "${S}"/${PN}/bash_completion.d/python-argcomplete.sh python-${PN}
+}
index 2e5add681f830df7fa2b471a43dca4605d172d28..ae11391891a77774a03ae0ceb4101de4f974a318 100644 (file)
@@ -7,5 +7,6 @@
   </maintainer>
   <upstream>
     <remote-id type="pypi">argcomplete</remote-id>
+    <remote-id type="github">kislyuk/argcomplete</remote-id>
   </upstream>
 </pkgmetadata>