commit:     b497e7cefe6db8f335e5d15dbca2d2da4b1adde2
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 10:10:10 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 13:34:28 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b497e7ce

dev-python/pip: Update shell completion generation

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/pip/pip-7.1.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pip/pip-7.1.2.ebuild b/dev-python/pip/pip-7.1.2.ebuild
index 7f0d706..b281787 100644
--- a/dev-python/pip/pip-7.1.2.ebuild
+++ b/dev-python/pip/pip-7.1.2.ebuild
@@ -58,10 +58,10 @@ python_install_all() {
 
        COMPLETION="${T}"/completion.tmp
 
-       "${PYTHON}" pip/__init__.py completion --bash > "${COMPLETION}" || die
+       "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die
        newbashcomp "${COMPLETION}" ${PN}
 
-       "${PYTHON}" pip/__init__.py completion --zsh > "${COMPLETION}" || die
+       "${PYTHON}" -m pip completion --zsh > "${COMPLETION}" || die
        insinto /usr/share/zsh/site-functions
        newins "${COMPLETION}" _pip
 }

Reply via email to