summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Ryan <anthonyryan1@gmail.com>2016-11-11 20:49:19 -0500
committerDavid Seifert <soap@gentoo.org>2016-11-13 22:48:59 +0100
commit1e8163c7ea030a3b1e5a0f4e4e776bf2d8af166c (patch)
tree7d65b77c6787c804f6398ecdf6a445472f338195
parentsci-physics/clhep: Removing EAPI 4 versions <=2.1.3.1 (diff)
downloadgentoo-1e8163c7ea030a3b1e5a0f4e4e776bf2d8af166c.tar.gz
gentoo-1e8163c7ea030a3b1e5a0f4e4e776bf2d8af166c.tar.bz2
gentoo-1e8163c7ea030a3b1e5a0f4e4e776bf2d8af166c.zip
dev-python/argcomplete: version bump 1.6.0
* 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>
-rw-r--r--dev-python/argcomplete/Manifest1
-rw-r--r--dev-python/argcomplete/argcomplete-1.6.0.ebuild30
-rw-r--r--dev-python/argcomplete/metadata.xml1
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest
index e2d6b2b4c4f9..a32633048ec9 100644
--- a/dev-python/argcomplete/Manifest
+++ b/dev-python/argcomplete/Manifest
@@ -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
index 000000000000..51e0aa6f447f
--- /dev/null
+++ b/dev-python/argcomplete/argcomplete-1.6.0.ebuild
@@ -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}
+}
diff --git a/dev-python/argcomplete/metadata.xml b/dev-python/argcomplete/metadata.xml
index 2e5add681f83..ae11391891a7 100644
--- a/dev-python/argcomplete/metadata.xml
+++ b/dev-python/argcomplete/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="pypi">argcomplete</remote-id>
+ <remote-id type="github">kislyuk/argcomplete</remote-id>
</upstream>
</pkgmetadata>