1 |
commit: 3f778e5fcc05d44ed54ff918801e26862a325135 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 4 04:18:30 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 4 04:18:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f778e5f |
7 |
|
8 |
dev-python/pip: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.3_p13, Repoman-2.3.1_p6 |
11 |
|
12 |
dev-python/pip/Manifest | 4 --- |
13 |
dev-python/pip/pip-8.0.2-r1.ebuild | 70 ------------------------------------ |
14 |
dev-python/pip/pip-8.0.2-r2.ebuild | 73 -------------------------------------- |
15 |
dev-python/pip/pip-8.0.3.ebuild | 73 -------------------------------------- |
16 |
dev-python/pip/pip-8.1.1.ebuild | 73 -------------------------------------- |
17 |
dev-python/pip/pip-8.1.2.ebuild | 73 -------------------------------------- |
18 |
6 files changed, 366 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest |
21 |
index ea8fe00..54c3432 100644 |
22 |
--- a/dev-python/pip/Manifest |
23 |
+++ b/dev-python/pip/Manifest |
24 |
@@ -1,6 +1,2 @@ |
25 |
DIST pip-7.1.2.tar.gz 1049170 SHA256 ca047986f0528cfa975a14fb9f7f106271d4e0c3fe1ddced6c1db2e7ae57a477 SHA512 78082afe6b559bf87f91ae9b6d304cfbfce00206e09be42fdae9d449a55cd8d968df6873e834191d0b0e6baae29e72eb3eee42386ff7c5dc9c29b6c28b754449 WHIRLPOOL 953fdc9104f3ac34c9104ec93948f58c4b0e193f18da60d3247d801c283c574490f8b91146e4278888c0b920090f537095c1a1693ca352d062dd98473390fdc9 |
26 |
-DIST pip-8.0.2.tar.gz 1130183 SHA256 46f4bd0d8dfd51125a554568d646fe4200a3c2c6c36b9f2d06d2212148439521 SHA512 f2660725da4efa156c6c0f6cb9ba3f10e8b6dd2fc9113e9a8754a59f38ee6161e5a648f9dbcf8853ef85a85d3164bcaac3a7032ac2057e92f331a337cacfc5d9 WHIRLPOOL abc88372746193686910ee127ac3f6f4bb7f3a5d7f897f705c2e43ea91d60c55ed26faf5e6acddd1d7e01772cbff4836195dcf22f9fc9dec30ad8c89986db778 |
27 |
-DIST pip-8.0.3.tar.gz 1131758 SHA256 30f98b66f3fe1069c529a491597d34a1c224a68640c82caf2ade5f88aa1405e8 SHA512 744111288dd86580e55a4eaeebcaab7b5fdd9e2ea47500e3febe2ce0a282b074f0c687d40a764b98bc54e0bf50748506eb8a5e220a095f2fe655f5cb42ba47c1 WHIRLPOOL 5bd7824ae4a311d98e47ccbf5fcc65b06579d30c0baa58357838935fd2646e87a610e76b22704b20d0c9379c321b878b409639e3604e725f2f08f83a8d7f1dda |
28 |
-DIST pip-8.1.1.tar.gz 1139175 SHA256 3e78d3066aaeb633d185a57afdccf700aa2e660436b4af618bcb6ff0fa511798 SHA512 3b8f629ca19bff627317415ca681a5ea12171be57a04347e83dcee4a4d013ff9db47beddd56bded1856d4f0ae1a075d901140fe04f544df8018f066d812c0f28 WHIRLPOOL f5ae76d3e2b6807aee5c2af03a2c83a18ae12182a8a533bc50e16ca07eb5efa1f7181d90ffcab171a687ace6880ddd8149b95a003ba749d21ae00ce1b0601891 |
29 |
-DIST pip-8.1.2.tar.gz 1140573 SHA256 4d24b03ffa67638a3fa931c09fd9e0273ffa904e95ebebe7d4b1a54c93d7b732 SHA512 f35e70344bc7baa0739d7a8a38e51f401774b23672e915c32d54fab3e9cc465bfc47361823fa75d2a64fc8748f2020170bd7a4cfde10070d7febf56d1f9124f0 WHIRLPOOL b1b9d46d39b03f78cbceccfd27416dcc50189accefc2a5a6e7a002c9930d7299897d1d15726b95c400c2495ce23c4db414ad8aa29424f189b8be33470a96f12a |
30 |
DIST pip-9.0.1.tar.gz 1197370 SHA256 09f243e1a7b461f654c26a725fa373211bb7ff17a9300058b205c61658ca940d SHA512 ee59efb4b009ff6543b7afdea99b9cbbee1981ecc03af586acda76674024d3b66dab23049e68f3da9448734984619fc1eaba6e965c9dd3d731973376c8a42e25 WHIRLPOOL c97a5e9d03943437873d3a49166c28bccf3e0d1f9efe8f500a730607bffcfc26184a6785f1ee55b6867bc4dbd0e77334da7dcf22bd6ba9ae26949c76b6a1c734 |
31 |
|
32 |
diff --git a/dev-python/pip/pip-8.0.2-r1.ebuild b/dev-python/pip/pip-8.0.2-r1.ebuild |
33 |
deleted file mode 100644 |
34 |
index 7ac9c15..00000000 |
35 |
--- a/dev-python/pip/pip-8.0.2-r1.ebuild |
36 |
+++ /dev/null |
37 |
@@ -1,70 +0,0 @@ |
38 |
-# Copyright 1999-2016 Gentoo Foundation |
39 |
-# Distributed under the terms of the GNU General Public License v2 |
40 |
-# $Id$ |
41 |
- |
42 |
-EAPI=5 |
43 |
- |
44 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) |
45 |
-PYTHON_REQ_USE="threads(+)" |
46 |
- |
47 |
-inherit bash-completion-r1 distutils-r1 |
48 |
- |
49 |
-DESCRIPTION="Installs python packages -- replacement for easy_install" |
50 |
-HOMEPAGE="https://pip.pypa.io/ https://pypi.python.org/pypi/pip/ https://github.com/pypa/pip/" |
51 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
52 |
- |
53 |
-LICENSE="MIT" |
54 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
55 |
-SLOT="0" |
56 |
- |
57 |
-# Check pip/_vendor/vendor.txt for this |
58 |
-VENDOR_DEPEND=" |
59 |
- >=dev-python/distlib-0.2.1[${PYTHON_USEDEP}] |
60 |
- >=dev-python/html5lib-0.9999999[${PYTHON_USEDEP}] |
61 |
- >=dev-python/six-1.9[${PYTHON_USEDEP}] |
62 |
- >=dev-python/colorama-0.3.6[${PYTHON_USEDEP}] |
63 |
- >=dev-python/requests-2.9.1-r2[${PYTHON_USEDEP}] |
64 |
- >=dev-python/CacheControl-0.11.5[${PYTHON_USEDEP}] |
65 |
- >=dev-python/lockfile-0.12.2[${PYTHON_USEDEP}] |
66 |
- >=dev-python/progress-1.2[${PYTHON_USEDEP}] |
67 |
- >=dev-python/packaging-16.0[${PYTHON_USEDEP}] |
68 |
- >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}] |
69 |
- >=dev-python/pyparsing-2.0.7[${PYTHON_USEDEP}] |
70 |
- virtual/python-ipaddress[${PYTHON_USEDEP}] |
71 |
-" |
72 |
-# https://github.com/pypa/pip/issues/3057 |
73 |
-RDEPEND="${VENDOR_DEPEND} |
74 |
- >=dev-python/setuptools-19.2[${PYTHON_USEDEP}] |
75 |
- <dev-python/setuptools-19.4[${PYTHON_USEDEP}] |
76 |
-" |
77 |
-DEPEND="${RDEPEND}" |
78 |
- |
79 |
-# required test data isn't bundled with the tarball |
80 |
-RESTRICT="test" |
81 |
- |
82 |
-PATCHES=( |
83 |
- "${FILESDIR}"/${PN}-6.0.2-disable-version-check.patch |
84 |
- "${FILESDIR}"/${PN}-8.0.0-unbundle.patch |
85 |
- ) |
86 |
- |
87 |
-python_prepare_all() { |
88 |
- mv pip/_vendor/__init__.py "${T}" || die |
89 |
- rm -r pip/_vendor/* || die |
90 |
- mv "${T}"/__init__.py pip/_vendor/__init__.py || die |
91 |
- |
92 |
- distutils-r1_python_prepare_all |
93 |
-} |
94 |
- |
95 |
-python_install_all() { |
96 |
- local DOCS=( AUTHORS.txt docs/*.rst ) |
97 |
- distutils-r1_python_install_all |
98 |
- |
99 |
- COMPLETION="${T}"/completion.tmp |
100 |
- |
101 |
- "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die |
102 |
- newbashcomp "${COMPLETION}" ${PN} |
103 |
- |
104 |
- "${PYTHON}" -m pip completion --zsh > "${COMPLETION}" || die |
105 |
- insinto /usr/share/zsh/site-functions |
106 |
- newins "${COMPLETION}" _pip |
107 |
-} |
108 |
|
109 |
diff --git a/dev-python/pip/pip-8.0.2-r2.ebuild b/dev-python/pip/pip-8.0.2-r2.ebuild |
110 |
deleted file mode 100644 |
111 |
index 11678cd..00000000 |
112 |
--- a/dev-python/pip/pip-8.0.2-r2.ebuild |
113 |
+++ /dev/null |
114 |
@@ -1,73 +0,0 @@ |
115 |
-# Copyright 1999-2016 Gentoo Foundation |
116 |
-# Distributed under the terms of the GNU General Public License v2 |
117 |
-# $Id$ |
118 |
- |
119 |
-EAPI=6 |
120 |
- |
121 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) |
122 |
-PYTHON_REQ_USE="threads(+)" |
123 |
- |
124 |
-inherit bash-completion-r1 distutils-r1 |
125 |
- |
126 |
-DESCRIPTION="Installs python packages -- replacement for easy_install" |
127 |
-HOMEPAGE="https://pip.pypa.io/ https://pypi.python.org/pypi/pip/ https://github.com/pypa/pip/" |
128 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
129 |
- |
130 |
-LICENSE="MIT" |
131 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
132 |
-SLOT="0" |
133 |
- |
134 |
-# Check pip/_vendor/vendor.txt for this |
135 |
-#VENDOR_DEPEND=" |
136 |
-# >=dev-python/distlib-0.2.1[${PYTHON_USEDEP}] |
137 |
-# >=dev-python/html5lib-0.9999999[${PYTHON_USEDEP}] |
138 |
-# >=dev-python/six-1.9[${PYTHON_USEDEP}] |
139 |
-# >=dev-python/colorama-0.3.6[${PYTHON_USEDEP}] |
140 |
-# >=dev-python/requests-2.9.1-r2[${PYTHON_USEDEP}] |
141 |
-# >=dev-python/CacheControl-0.11.5[${PYTHON_USEDEP}] |
142 |
-# >=dev-python/lockfile-0.12.2[${PYTHON_USEDEP}] |
143 |
-# >=dev-python/progress-1.2[${PYTHON_USEDEP}] |
144 |
-# >=dev-python/packaging-16.0[${PYTHON_USEDEP}] |
145 |
-# >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}] |
146 |
-# >=dev-python/pyparsing-2.0.7[${PYTHON_USEDEP}] |
147 |
-# virtual/python-ipaddress[${PYTHON_USEDEP}] |
148 |
-#" |
149 |
-# https://github.com/pypa/pip/issues/3057 |
150 |
-#RDEPEND="${VENDOR_DEPEND} |
151 |
-# >=dev-python/setuptools-19.2[${PYTHON_USEDEP}] |
152 |
-# <dev-python/setuptools-19.4[${PYTHON_USEDEP}] |
153 |
-#" |
154 |
-#DEPEND="${RDEPEND}" |
155 |
- |
156 |
-# required test data isn't bundled with the tarball |
157 |
-RESTRICT="test" |
158 |
- |
159 |
-#PATCHES=( |
160 |
-# "${FILESDIR}"/${PN}-6.0.2-disable-version-check.patch |
161 |
-# "${FILESDIR}"/${PN}-8.0.0-unbundle.patch |
162 |
-# ) |
163 |
- |
164 |
-#python_prepare_all() { |
165 |
-# mv pip/_vendor/__init__.py "${T}" || die |
166 |
-# rm -r pip/_vendor/* || die |
167 |
-# mv "${T}"/__init__.py pip/_vendor/__init__.py || die |
168 |
-# |
169 |
-# distutils-r1_python_prepare_all |
170 |
-#} |
171 |
- |
172 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
173 |
-RDEPEND="${DEPEND}" |
174 |
- |
175 |
-python_install_all() { |
176 |
- local DOCS=( AUTHORS.txt docs/*.rst ) |
177 |
- distutils-r1_python_install_all |
178 |
- |
179 |
- COMPLETION="${T}"/completion.tmp |
180 |
- |
181 |
- "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die |
182 |
- newbashcomp "${COMPLETION}" ${PN} |
183 |
- |
184 |
- "${PYTHON}" -m pip completion --zsh > "${COMPLETION}" || die |
185 |
- insinto /usr/share/zsh/site-functions |
186 |
- newins "${COMPLETION}" _pip |
187 |
-} |
188 |
|
189 |
diff --git a/dev-python/pip/pip-8.0.3.ebuild b/dev-python/pip/pip-8.0.3.ebuild |
190 |
deleted file mode 100644 |
191 |
index 1ac2fff..00000000 |
192 |
--- a/dev-python/pip/pip-8.0.3.ebuild |
193 |
+++ /dev/null |
194 |
@@ -1,73 +0,0 @@ |
195 |
-# Copyright 1999-2016 Gentoo Foundation |
196 |
-# Distributed under the terms of the GNU General Public License v2 |
197 |
-# $Id$ |
198 |
- |
199 |
-EAPI=6 |
200 |
- |
201 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) |
202 |
-PYTHON_REQ_USE="threads(+)" |
203 |
- |
204 |
-inherit bash-completion-r1 distutils-r1 |
205 |
- |
206 |
-DESCRIPTION="Installs python packages -- replacement for easy_install" |
207 |
-HOMEPAGE="https://pip.pypa.io/ https://pypi.python.org/pypi/pip/ https://github.com/pypa/pip/" |
208 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
209 |
- |
210 |
-LICENSE="MIT" |
211 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
212 |
-SLOT="0" |
213 |
- |
214 |
-# Check pip/_vendor/vendor.txt for this |
215 |
-#VENDOR_DEPEND=" |
216 |
-# >=dev-python/distlib-0.2.1[${PYTHON_USEDEP}] |
217 |
-# >=dev-python/html5lib-0.9999999[${PYTHON_USEDEP}] |
218 |
-# >=dev-python/six-1.9[${PYTHON_USEDEP}] |
219 |
-# >=dev-python/colorama-0.3.6[${PYTHON_USEDEP}] |
220 |
-# >=dev-python/requests-2.9.1-r2[${PYTHON_USEDEP}] |
221 |
-# >=dev-python/CacheControl-0.11.5[${PYTHON_USEDEP}] |
222 |
-# >=dev-python/lockfile-0.12.2[${PYTHON_USEDEP}] |
223 |
-# >=dev-python/progress-1.2[${PYTHON_USEDEP}] |
224 |
-# >=dev-python/packaging-16.0[${PYTHON_USEDEP}] |
225 |
-# >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}] |
226 |
-# >=dev-python/pyparsing-2.0.7[${PYTHON_USEDEP}] |
227 |
-# virtual/python-ipaddress[${PYTHON_USEDEP}] |
228 |
-#" |
229 |
-# https://github.com/pypa/pip/issues/3057 |
230 |
-#RDEPEND="${VENDOR_DEPEND} |
231 |
-# >=dev-python/setuptools-19.2[${PYTHON_USEDEP}] |
232 |
-# <dev-python/setuptools-19.4[${PYTHON_USEDEP}] |
233 |
-#" |
234 |
-#DEPEND="${RDEPEND}" |
235 |
- |
236 |
-# required test data isn't bundled with the tarball |
237 |
-RESTRICT="test" |
238 |
- |
239 |
-#PATCHES=( |
240 |
-# "${FILESDIR}"/${PN}-6.0.2-disable-version-check.patch |
241 |
-# "${FILESDIR}"/${PN}-8.0.0-unbundle.patch |
242 |
-# ) |
243 |
- |
244 |
-#python_prepare_all() { |
245 |
-# mv pip/_vendor/__init__.py "${T}" || die |
246 |
-# rm -r pip/_vendor/* || die |
247 |
-# mv "${T}"/__init__.py pip/_vendor/__init__.py || die |
248 |
-# |
249 |
-# distutils-r1_python_prepare_all |
250 |
-#} |
251 |
- |
252 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
253 |
-RDEPEND="${DEPEND}" |
254 |
- |
255 |
-python_install_all() { |
256 |
- local DOCS=( AUTHORS.txt docs/*.rst ) |
257 |
- distutils-r1_python_install_all |
258 |
- |
259 |
- COMPLETION="${T}"/completion.tmp |
260 |
- |
261 |
- "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die |
262 |
- newbashcomp "${COMPLETION}" ${PN} |
263 |
- |
264 |
- "${PYTHON}" -m pip completion --zsh > "${COMPLETION}" || die |
265 |
- insinto /usr/share/zsh/site-functions |
266 |
- newins "${COMPLETION}" _pip |
267 |
-} |
268 |
|
269 |
diff --git a/dev-python/pip/pip-8.1.1.ebuild b/dev-python/pip/pip-8.1.1.ebuild |
270 |
deleted file mode 100644 |
271 |
index e40324a..00000000 |
272 |
--- a/dev-python/pip/pip-8.1.1.ebuild |
273 |
+++ /dev/null |
274 |
@@ -1,73 +0,0 @@ |
275 |
-# Copyright 1999-2016 Gentoo Foundation |
276 |
-# Distributed under the terms of the GNU General Public License v2 |
277 |
-# $Id$ |
278 |
- |
279 |
-EAPI=6 |
280 |
- |
281 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) |
282 |
-PYTHON_REQ_USE="threads(+)" |
283 |
- |
284 |
-inherit bash-completion-r1 distutils-r1 |
285 |
- |
286 |
-DESCRIPTION="Installs python packages -- replacement for easy_install" |
287 |
-HOMEPAGE="https://pip.pypa.io/ https://pypi.python.org/pypi/pip/ https://github.com/pypa/pip/" |
288 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
289 |
- |
290 |
-LICENSE="MIT" |
291 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
292 |
-SLOT="0" |
293 |
- |
294 |
-# Check pip/_vendor/vendor.txt for this |
295 |
-#VENDOR_DEPEND=" |
296 |
-# >=dev-python/distlib-0.2.2[${PYTHON_USEDEP}] |
297 |
-# >=dev-python/html5lib-1.0b8[${PYTHON_USEDEP}] |
298 |
-# >=dev-python/six-1.10.0${PYTHON_USEDEP}] |
299 |
-# >=dev-python/colorama-0.3.6[${PYTHON_USEDEP}] |
300 |
-# >=dev-python/requests-2.9.1-r2[${PYTHON_USEDEP}] |
301 |
-# >=dev-python/CacheControl-0.11.6[${PYTHON_USEDEP}] |
302 |
-# >=dev-python/lockfile-0.12.2[${PYTHON_USEDEP}] |
303 |
-# >=dev-python/progress-1.2[${PYTHON_USEDEP}] |
304 |
-# >=dev-python/packaging-16.5[${PYTHON_USEDEP}] |
305 |
-# >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}] |
306 |
-# >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
307 |
-# virtual/python-ipaddress[${PYTHON_USEDEP}] |
308 |
-#" |
309 |
-# https://github.com/pypa/pip/issues/3057 |
310 |
-#RDEPEND="${VENDOR_DEPEND} |
311 |
-# >=dev-python/setuptools-19.2[${PYTHON_USEDEP}] |
312 |
-# <dev-python/setuptools-19.4[${PYTHON_USEDEP}] |
313 |
-#" |
314 |
-#DEPEND="${RDEPEND}" |
315 |
- |
316 |
-# required test data isn't bundled with the tarball |
317 |
-RESTRICT="test" |
318 |
- |
319 |
-#PATCHES=( |
320 |
-# "${FILESDIR}"/${PN}-6.0.2-disable-version-check.patch |
321 |
-# "${FILESDIR}"/${PN}-8.0.0-unbundle.patch |
322 |
-# ) |
323 |
- |
324 |
-#python_prepare_all() { |
325 |
-# mv pip/_vendor/__init__.py "${T}" || die |
326 |
-# rm -r pip/_vendor/* || die |
327 |
-# mv "${T}"/__init__.py pip/_vendor/__init__.py || die |
328 |
-# |
329 |
-# distutils-r1_python_prepare_all |
330 |
-#} |
331 |
- |
332 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
333 |
-RDEPEND="${DEPEND}" |
334 |
- |
335 |
-python_install_all() { |
336 |
- local DOCS=( AUTHORS.txt docs/*.rst ) |
337 |
- distutils-r1_python_install_all |
338 |
- |
339 |
- COMPLETION="${T}"/completion.tmp |
340 |
- |
341 |
- "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die |
342 |
- newbashcomp "${COMPLETION}" ${PN} |
343 |
- |
344 |
- "${PYTHON}" -m pip completion --zsh > "${COMPLETION}" || die |
345 |
- insinto /usr/share/zsh/site-functions |
346 |
- newins "${COMPLETION}" _pip |
347 |
-} |
348 |
|
349 |
diff --git a/dev-python/pip/pip-8.1.2.ebuild b/dev-python/pip/pip-8.1.2.ebuild |
350 |
deleted file mode 100644 |
351 |
index e40324a..00000000 |
352 |
--- a/dev-python/pip/pip-8.1.2.ebuild |
353 |
+++ /dev/null |
354 |
@@ -1,73 +0,0 @@ |
355 |
-# Copyright 1999-2016 Gentoo Foundation |
356 |
-# Distributed under the terms of the GNU General Public License v2 |
357 |
-# $Id$ |
358 |
- |
359 |
-EAPI=6 |
360 |
- |
361 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) |
362 |
-PYTHON_REQ_USE="threads(+)" |
363 |
- |
364 |
-inherit bash-completion-r1 distutils-r1 |
365 |
- |
366 |
-DESCRIPTION="Installs python packages -- replacement for easy_install" |
367 |
-HOMEPAGE="https://pip.pypa.io/ https://pypi.python.org/pypi/pip/ https://github.com/pypa/pip/" |
368 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
369 |
- |
370 |
-LICENSE="MIT" |
371 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
372 |
-SLOT="0" |
373 |
- |
374 |
-# Check pip/_vendor/vendor.txt for this |
375 |
-#VENDOR_DEPEND=" |
376 |
-# >=dev-python/distlib-0.2.2[${PYTHON_USEDEP}] |
377 |
-# >=dev-python/html5lib-1.0b8[${PYTHON_USEDEP}] |
378 |
-# >=dev-python/six-1.10.0${PYTHON_USEDEP}] |
379 |
-# >=dev-python/colorama-0.3.6[${PYTHON_USEDEP}] |
380 |
-# >=dev-python/requests-2.9.1-r2[${PYTHON_USEDEP}] |
381 |
-# >=dev-python/CacheControl-0.11.6[${PYTHON_USEDEP}] |
382 |
-# >=dev-python/lockfile-0.12.2[${PYTHON_USEDEP}] |
383 |
-# >=dev-python/progress-1.2[${PYTHON_USEDEP}] |
384 |
-# >=dev-python/packaging-16.5[${PYTHON_USEDEP}] |
385 |
-# >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}] |
386 |
-# >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
387 |
-# virtual/python-ipaddress[${PYTHON_USEDEP}] |
388 |
-#" |
389 |
-# https://github.com/pypa/pip/issues/3057 |
390 |
-#RDEPEND="${VENDOR_DEPEND} |
391 |
-# >=dev-python/setuptools-19.2[${PYTHON_USEDEP}] |
392 |
-# <dev-python/setuptools-19.4[${PYTHON_USEDEP}] |
393 |
-#" |
394 |
-#DEPEND="${RDEPEND}" |
395 |
- |
396 |
-# required test data isn't bundled with the tarball |
397 |
-RESTRICT="test" |
398 |
- |
399 |
-#PATCHES=( |
400 |
-# "${FILESDIR}"/${PN}-6.0.2-disable-version-check.patch |
401 |
-# "${FILESDIR}"/${PN}-8.0.0-unbundle.patch |
402 |
-# ) |
403 |
- |
404 |
-#python_prepare_all() { |
405 |
-# mv pip/_vendor/__init__.py "${T}" || die |
406 |
-# rm -r pip/_vendor/* || die |
407 |
-# mv "${T}"/__init__.py pip/_vendor/__init__.py || die |
408 |
-# |
409 |
-# distutils-r1_python_prepare_all |
410 |
-#} |
411 |
- |
412 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
413 |
-RDEPEND="${DEPEND}" |
414 |
- |
415 |
-python_install_all() { |
416 |
- local DOCS=( AUTHORS.txt docs/*.rst ) |
417 |
- distutils-r1_python_install_all |
418 |
- |
419 |
- COMPLETION="${T}"/completion.tmp |
420 |
- |
421 |
- "${PYTHON}" -m pip completion --bash > "${COMPLETION}" || die |
422 |
- newbashcomp "${COMPLETION}" ${PN} |
423 |
- |
424 |
- "${PYTHON}" -m pip completion --zsh > "${COMPLETION}" || die |
425 |
- insinto /usr/share/zsh/site-functions |
426 |
- newins "${COMPLETION}" _pip |
427 |
-} |