1 |
commit: b497e7cefe6db8f335e5d15dbca2d2da4b1adde2 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 28 10:10:10 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 28 13:34:28 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b497e7ce |
7 |
|
8 |
dev-python/pip: Update shell completion generation |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/pip/pip-7.1.2.ebuild | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pip/pip-7.1.2.ebuild b/dev-python/pip/pip-7.1.2.ebuild |
17 |
index 7f0d706..b281787 100644 |
18 |
--- a/dev-python/pip/pip-7.1.2.ebuild |
19 |
+++ b/dev-python/pip/pip-7.1.2.ebuild |
20 |
@@ -58,10 +58,10 @@ python_install_all() { |
21 |
|
22 |
COMPLETION="${T}"/completion.tmp |
23 |
|
24 |
- "${PYTHON}" pip/__init__.py completion --bash > "${COMPLETION}" || die |
25 |
+ "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die |
26 |
newbashcomp "${COMPLETION}" ${PN} |
27 |
|
28 |
- "${PYTHON}" pip/__init__.py completion --zsh > "${COMPLETION}" || die |
29 |
+ "${PYTHON}" -m pip completion --zsh > "${COMPLETION}" || die |
30 |
insinto /usr/share/zsh/site-functions |
31 |
newins "${COMPLETION}" _pip |
32 |
} |