summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-07-17 16:31:26 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-07-17 16:37:42 +0200
commit8a2866df0ae4b3ff1d4245bd71a0493ae20f105f (patch)
tree3c2c6fc374d692b6508ff712a4fd7235f975cb79 /dev-python/argcomplete
parentapp-text/pytextile: Bump (diff)
downloadgentoo-8a2866df0ae4b3ff1d4245bd71a0493ae20f105f.tar.gz
gentoo-8a2866df0ae4b3ff1d4245bd71a0493ae20f105f.tar.bz2
gentoo-8a2866df0ae4b3ff1d4245bd71a0493ae20f105f.zip
dev-python/argcomplete: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/argcomplete')
-rw-r--r--dev-python/argcomplete/Manifest1
-rw-r--r--dev-python/argcomplete/argcomplete-1.4.1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest
index dc9ad7196c7f..845f2b2e5d89 100644
--- a/dev-python/argcomplete/Manifest
+++ b/dev-python/argcomplete/Manifest
@@ -4,3 +4,4 @@ DIST argcomplete-0.9.0.tar.gz 35214 SHA256 f97577332d19aea09583ecb426a49e85dc7bb
DIST argcomplete-1.0.0.tar.gz 35480 SHA256 2cba862e5ce5b0057a33169484544c38bfdc17a1dd865c197adb7ce07800e36e SHA512 9f974833d4e699d87e575a51c024ae7782f51f6e085be291bbac645b6e72873597be6da3c75b0461a8ef5a33311ce3d1fcb6e58f999ad043099331e269f5e9a6 WHIRLPOOL 52ce076077cb4dca8777e55a265351e817b9369af66635dd89b9b2dd3c6ef27e8329864f6024be70d786c42139ccd784d1e3535700a4bea304b2ce8611f1c407
DIST argcomplete-1.1.0.tar.gz 35809 SHA256 86eeb63632c00831d4c2a7f1158d3a102339a994763fd7492439811546129dc1 SHA512 189f2f417ca47834b97ae69a7bae8c601a7d5e4d22abbd7b927f9352752ab6b406f9b04593dfcb3eb45c5c5269bfbca38d68deb71101e275f13508ef5f23d13f WHIRLPOOL 2438700f41e4df004139d0b5f753e523966bf6394cdc5e0b2f46a3e62a6a2baa7f1f7b10d433f33115dde182fe7c480e0c5726e52940ae13ce67cd73e3c2aabc
DIST argcomplete-1.1.1.tar.gz 35689 SHA256 cca45b5fe07000994f4f06a0b95bd71f7b51b04f81c3be0b4ea7b666e4f1f084 SHA512 d1e824ea6b5a3e83c8325310b139e078aedee587216b873ba85add3e8ea0695dfa12fbb3b7bc4e10d8f6bb577605376cf60bc6eec7f35dbf67541fbd940e5045 WHIRLPOOL e1347d6ee5cea55f1ec2ae303fbe7dc6fcee7d19eba50e108c7fc961d9144be91976e45b97dccebba6550d1995bf037b89e947d548879e1277914f2860acfa8a
+DIST argcomplete-1.4.1.tar.gz 37219 SHA256 a7b5fa8d1acb69e49b3c6b3f6225bc709092e0c7f621311bac507a4f6efe609d SHA512 3e9fa64fca93baf14fddd653947ff0269004e8783de0567931dafb9e4d0dfff2e2450ef6df331a4d648f5ce1d817a422f52d8d30b94315cd54fd82102467ded5 WHIRLPOOL ee11a1f16f44b204502bc0a1246626305cbdddf8633608fbb5575270e3568b4995ae449ccf309f12225f29099dac117aa21c66cd14f53d0d90fd6abfc637d7e7
diff --git a/dev-python/argcomplete/argcomplete-1.4.1.ebuild b/dev-python/argcomplete/argcomplete-1.4.1.ebuild
new file mode 100644
index 000000000000..2f7fbb301b44
--- /dev/null
+++ b/dev-python/argcomplete/argcomplete-1.4.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 bash-completion-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 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+ # purge test folder to avoid file collisions
+ sed -e "s:find_packages():find_packages(exclude=['test','test.*']):" -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ ${EPYTHON} test/test.py || die
+}
+
+python_install_all() {
+ sed \
+ -e "/complete /d" \
+ -i argcomplete/bash_completion.d/python-argcomplete.sh || die
+
+ distutils-r1_python_install_all
+ newbashcomp "${S}"/${PN}/bash_completion.d/python-argcomplete.sh python-${PN}
+}