From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7019D59CAF for ; Tue, 5 Apr 2016 21:13:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F22721C00D; Tue, 5 Apr 2016 21:12:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7B1721C00D for ; Tue, 5 Apr 2016 21:12:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3FEE1340DBD for ; Tue, 5 Apr 2016 21:12:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A53CCCA for ; Tue, 5 Apr 2016 21:12:54 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1459890763.9f00779242889a84ad7132a4e3c3d5056056f469.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/argcomplete/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/argcomplete/Manifest dev-python/argcomplete/argcomplete-1.1.1.ebuild X-VCS-Directories: dev-python/argcomplete/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 9f00779242889a84ad7132a4e3c3d5056056f469 X-VCS-Branch: master Date: Tue, 5 Apr 2016 21:12:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2dcbd525-e605-41f2-8e23-69a1e4be9366 X-Archives-Hash: f915367a653bd0efd938505d20c88fad commit: 9f00779242889a84ad7132a4e3c3d5056056f469 Author: Manuel Rüger gentoo org> AuthorDate: Tue Apr 5 21:12:43 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Apr 5 21:12:43 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f007792 dev-python/argcomplete: Version bump to 1.1.1 Package-Manager: portage-2.2.28 dev-python/argcomplete/Manifest | 1 + dev-python/argcomplete/argcomplete-1.1.1.ebuild | 39 +++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index d757210..dc9ad71 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -3,3 +3,4 @@ DIST argcomplete-0.8.9.tar.gz 30575 SHA256 98f04fa2ca22479459d8ba04583dca653a41c DIST argcomplete-0.9.0.tar.gz 35214 SHA256 f97577332d19aea09583ecb426a49e85dc7bbc9822ab345b9c790d923413af0e SHA512 e127a8d2e7914f2601d649963115595db40ed612d352c134c5b68acdcbcd52477728e6e1edddd405562b28329f960d87d1418fa8fe3b3f1dcb9c3ad10c42a65d WHIRLPOOL 03c5f4eac0aeac9887d8ba1d21b585854b91c7399c95260ecf58f92d709b9194f801b730ab26435e329e003f8041c96d11410983a83c21f262cd2ad68a32a100 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 diff --git a/dev-python/argcomplete/argcomplete-1.1.1.ebuild b/dev-python/argcomplete/argcomplete-1.1.1.ebuild new file mode 100644 index 0000000..e879ee6 --- /dev/null +++ b/dev-python/argcomplete/argcomplete-1.1.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_3,3_4} ) + +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} +}