Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/, dev-python/requests/files/
Date: Sun, 27 Jan 2019 17:17:05
Message-Id: 1548609401.a5512269b8530127e1a156481b6a400f5083b209.vdupras@gentoo
1 commit: a5512269b8530127e1a156481b6a400f5083b209
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 27 17:15:34 2019 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 27 17:16:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5512269
7
8 dev-python/requests: remove old
9
10 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-python/requests/Manifest | 5 --
14 .../files/requests-2.12.1-system-packages.patch | 17 -------
15 .../files/requests-2.14.2-system-packages.patch | 19 --------
16 .../files/requests-2.5.0-system-cacerts.patch | 24 ----------
17 .../files/requests-2.9.1-system-packages.patch | 20 --------
18 dev-python/requests/requests-2.11.1.ebuild | 54 ---------------------
19 dev-python/requests/requests-2.12.5.ebuild | 55 ----------------------
20 dev-python/requests/requests-2.14.2.ebuild | 54 ---------------------
21 dev-python/requests/requests-2.18.2-r2.ebuild | 47 ------------------
22 dev-python/requests/requests-2.19.1-r1.ebuild | 52 --------------------
23 10 files changed, 347 deletions(-)
24
25 diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
26 index 96e5ad527dd..bfd440a8fc6 100644
27 --- a/dev-python/requests/Manifest
28 +++ b/dev-python/requests/Manifest
29 @@ -1,7 +1,2 @@
30 -DIST requests-2.11.1.tar.gz 485936 BLAKE2B a6396da4beca66a0b546b92cebebb33352dc0855f50bba046bd40d7c65e71cdaab0b36496060dd4ee9c88b851f1f6e0faa4a2be5a596b475a08bd5359da43a0d SHA512 135cbab1e279ebf314bffca01bc4d9f9e71963c67069e330e78fbe06c4294031d1d616bc5d5e104161c8696b408887053bdd65351f85e9ff34646368c88852e5
31 -DIST requests-2.12.5.tar.gz 548336 BLAKE2B edb163b945289fe6d75365da523505d25eab47c5686f5e44a3eacd2a70adf1a45320e0bc8d5b91f10fae065117435682523117b4d338179c2a01352910be1d14 SHA512 3ad60b953c6db98d26c043c7e77c3be8b28389ee1dbf32e75663cf48a8ddc2e487df27c54c64736ff42b79e35a6dbd2788065469a61a520a9818183970274cd9
32 -DIST requests-2.14.2.tar.gz 521027 BLAKE2B c8f691b126876e069556542dbfc86a6aa645233b3539ca7fc0e02f42dec22bdcbb78863e3a9cf30a976af89cd8c1403c3c379737a5e1b07c54f19b217dbec529 SHA512 f6531ada6d854a261cad874044daa9e7f79d55c8f8fcfec1b25862563127318fbf717ed640644ddf0dbe4d7fe1298d478fcd76825a3604e06cefae5990fa9dd4
33 -DIST requests-2.18.2.tar.gz 125381 BLAKE2B f55bee7558424662ff5d577eefc89cdbdec3a209667bd174a3ec73554bab20582867139ce69ed5b996ecfb297cc251d41294188e21bd24d2241a0ad0432582f2 SHA512 b78660e5370f9acc458159edda385fbcbbb33b0703fa2c83400f3c08fe05253f357175e2ad76c5bff4bd942ab18da5df344473e9b5a924d7457596c0ff9bfbc6
34 DIST requests-2.18.4.tar.gz 126224 BLAKE2B 98ab1fe39832673ea7900029da275e031fc85811d6ddb0f37609ec50b18e17d8a04b6cef397bc626ba13da32e16ffa961626879106941d327694d8763dc1efb6 SHA512 5c59bed82ac1094194f04a973b299f7d783264d372abd7a5229295bccc6b2f7a9f082ee4b0dff348e9c22cf68ddbd7cb67f60fd0b7d9eda41c02e40d075e9472
35 -DIST requests-2.19.1.tar.gz 131068 BLAKE2B 54ffdfd7b2c6f504071c8b55d9672dcffafd31de90cb85d354bc17d7fa19807927b46977b22a407654cdb48d7293e1b0222771d4369e148e4d6410719ba820e3 SHA512 deef2662227497b472f6e7eb7f0ee468c772069fc66552f71d80e5a12af62a187f8bc6a8a78531915e824c7f277d0db61c1534c89d13d473f68504f0bd6edf47
36 DIST requests-2.21.0.tar.gz 111528 BLAKE2B 7b40f9f572a8efde41c177fb5d1e1eaf29ca60cad0661fa28ac0085f3700348380d619f68c0082f24044d1af82b16d6b1e7d5dd2c2a2329f85fcee7141b1fbf6 SHA512 385e1d80993a21c09e7c4682500ca8c24155962ba41ecd8e73612722b2ff6618b736e827fc48ad1683b0d2bc7a420cfe680f5107860aca52656ef777f1d60104
37
38 diff --git a/dev-python/requests/files/requests-2.12.1-system-packages.patch b/dev-python/requests/files/requests-2.12.1-system-packages.patch
39 deleted file mode 100644
40 index 62fecf9cc7a..00000000000
41 --- a/dev-python/requests/files/requests-2.12.1-system-packages.patch
42 +++ /dev/null
43 @@ -1,17 +0,0 @@
44 ---- requests-2.12.1/setup.py
45 -+++ requests-2.12.1/setup.py
46 -@@ -36,14 +36,6 @@
47 - packages = [
48 - 'requests',
49 - 'requests.packages',
50 -- 'requests.packages.chardet',
51 -- 'requests.packages.idna',
52 -- 'requests.packages.urllib3',
53 -- 'requests.packages.urllib3.packages',
54 -- 'requests.packages.urllib3.contrib',
55 -- 'requests.packages.urllib3.util',
56 -- 'requests.packages.urllib3.packages.ssl_match_hostname',
57 -- 'requests.packages.urllib3.packages.backports',
58 - ]
59 -
60 - requires = []
61
62 diff --git a/dev-python/requests/files/requests-2.14.2-system-packages.patch b/dev-python/requests/files/requests-2.14.2-system-packages.patch
63 deleted file mode 100644
64 index 67627d150fe..00000000000
65 --- a/dev-python/requests/files/requests-2.14.2-system-packages.patch
66 +++ /dev/null
67 @@ -1,19 +0,0 @@
68 ---- requests-2.14.2/setup.py.old 2017-05-15 17:38:45.942532911 +0200
69 -+++ requests-2.14.2/setup.py 2017-05-15 17:39:03.629533611 +0200
70 -@@ -36,16 +36,6 @@
71 - packages = [
72 - 'requests',
73 - 'requests.packages',
74 -- 'requests.packages.chardet',
75 -- 'requests.packages.chardet.cli',
76 -- 'requests.packages.idna',
77 -- 'requests.packages.urllib3',
78 -- 'requests.packages.urllib3.packages',
79 -- 'requests.packages.urllib3.contrib',
80 -- 'requests.packages.urllib3.util',
81 -- 'requests.packages.urllib3.packages.ssl_match_hostname',
82 -- 'requests.packages.urllib3.packages.backports',
83 -- 'requests.packages.urllib3.contrib._securetransport',
84 - ]
85 -
86 - requires = []
87
88 diff --git a/dev-python/requests/files/requests-2.5.0-system-cacerts.patch b/dev-python/requests/files/requests-2.5.0-system-cacerts.patch
89 deleted file mode 100644
90 index f0d9e943e90..00000000000
91 --- a/dev-python/requests/files/requests-2.5.0-system-cacerts.patch
92 +++ /dev/null
93 @@ -1,24 +0,0 @@
94 ---- requests-2.5.0/requests/certs.py
95 -+++ requests-2.5.0/requests/certs.py
96 -@@ -13,13 +13,14 @@
97 - """
98 - import os.path
99 -
100 --try:
101 -- from certifi import where
102 --except ImportError:
103 -- def where():
104 -- """Return the preferred certificate bundle."""
105 -- # vendored bundle inside Requests
106 -- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
107 -+def where():
108 -+ """Return the preferred certificate bundle."""
109 -+ cacerts = '/etc/ssl/certs/ca-certificates.crt'
110 -+ if os.path.exists(cacerts):
111 -+ return cacerts
112 -+
113 -+ # vendored bundle inside Requests
114 -+ return os.path.join(os.path.dirname(__file__), 'cacert.pem')
115 -
116 - if __name__ == '__main__':
117 - print(where())
118
119 diff --git a/dev-python/requests/files/requests-2.9.1-system-packages.patch b/dev-python/requests/files/requests-2.9.1-system-packages.patch
120 deleted file mode 100644
121 index f511d0d6524..00000000000
122 --- a/dev-python/requests/files/requests-2.9.1-system-packages.patch
123 +++ /dev/null
124 @@ -1,20 +0,0 @@
125 - setup.py | 6 ------
126 - 1 file changed, 6 deletions(-)
127 -
128 -diff --git a/setup.py b/setup.py
129 -index b7ed12b..1d5abe4 100755
130 ---- a/setup.py
131 -+++ b/setup.py
132 -@@ -18,12 +18,6 @@ if sys.argv[-1] == 'publish':
133 - packages = [
134 - 'requests',
135 - 'requests.packages',
136 -- 'requests.packages.chardet',
137 -- 'requests.packages.urllib3',
138 -- 'requests.packages.urllib3.packages',
139 -- 'requests.packages.urllib3.contrib',
140 -- 'requests.packages.urllib3.util',
141 -- 'requests.packages.urllib3.packages.ssl_match_hostname',
142 - ]
143 -
144 - requires = []
145
146 diff --git a/dev-python/requests/requests-2.11.1.ebuild b/dev-python/requests/requests-2.11.1.ebuild
147 deleted file mode 100644
148 index d4d0a9ff54b..00000000000
149 --- a/dev-python/requests/requests-2.11.1.ebuild
150 +++ /dev/null
151 @@ -1,54 +0,0 @@
152 -# Copyright 1999-2017 Gentoo Foundation
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=6
156 -
157 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
158 -PYTHON_REQ_USE="threads(+)"
159 -
160 -inherit distutils-r1
161 -
162 -DESCRIPTION="HTTP library for human beings"
163 -HOMEPAGE="http://python-requests.org/ https://pypi.org/project/requests/"
164 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
165 -
166 -LICENSE="Apache-2.0"
167 -SLOT="0"
168 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
169 -IUSE="test"
170 -
171 -RDEPEND="
172 - app-misc/ca-certificates
173 - >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]
174 - dev-python/ndg-httpsclient[${PYTHON_USEDEP}]
175 - >=dev-python/py-1.4.30[${PYTHON_USEDEP}]
176 - dev-python/pyasn1[${PYTHON_USEDEP}]
177 - >=dev-python/pyopenssl-0.13[$(python_gen_usedep 'python*' pypy)]
178 - >=dev-python/urllib3-1.14[${PYTHON_USEDEP}]
179 - "
180 -DEPEND="${RDEPEND}
181 - dev-python/setuptools[${PYTHON_USEDEP}]
182 - test? (
183 - >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
184 - )
185 - "
186 -# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}]
187 -
188 -# tests connect to various remote sites
189 -RESTRICT="test"
190 -
191 -PATCHES=(
192 - "${FILESDIR}"/${PN}-2.9.1-system-packages.patch
193 - "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
194 -)
195 -
196 -python_prepare_all() {
197 - # use system chardet & urllib3
198 - rm -r requests/packages/{chardet,urllib3} || die
199 -
200 - distutils-r1_python_prepare_all
201 -}
202 -
203 -python_test() {
204 - py.test -v || die
205 -}
206
207 diff --git a/dev-python/requests/requests-2.12.5.ebuild b/dev-python/requests/requests-2.12.5.ebuild
208 deleted file mode 100644
209 index c528fbc166d..00000000000
210 --- a/dev-python/requests/requests-2.12.5.ebuild
211 +++ /dev/null
212 @@ -1,55 +0,0 @@
213 -# Copyright 1999-2017 Gentoo Foundation
214 -# Distributed under the terms of the GNU General Public License v2
215 -
216 -EAPI=6
217 -
218 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
219 -PYTHON_REQ_USE="threads(+)"
220 -
221 -inherit distutils-r1
222 -
223 -DESCRIPTION="HTTP library for human beings"
224 -HOMEPAGE="http://python-requests.org/ https://pypi.org/project/requests/"
225 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
226 -
227 -LICENSE="Apache-2.0"
228 -SLOT="0"
229 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
230 -IUSE="test"
231 -
232 -RDEPEND="
233 - app-misc/ca-certificates
234 - >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]
235 - >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
236 - >=dev-python/idna-2.0[${PYTHON_USEDEP}]
237 - dev-python/ndg-httpsclient[${PYTHON_USEDEP}]
238 - >=dev-python/py-1.4.30[${PYTHON_USEDEP}]
239 - >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
240 - >=dev-python/urllib3-1.14[${PYTHON_USEDEP}]
241 - "
242 -DEPEND="${RDEPEND}
243 - dev-python/setuptools[${PYTHON_USEDEP}]
244 - test? (
245 - >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
246 - )
247 - "
248 -# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}]
249 -
250 -# tests connect to various remote sites
251 -RESTRICT="test"
252 -
253 -PATCHES=(
254 - "${FILESDIR}"/${PN}-2.12.1-system-packages.patch
255 - "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
256 -)
257 -
258 -python_prepare_all() {
259 - # use system chardet & urllib3
260 - rm -r requests/packages/{chardet,urllib3} || die
261 -
262 - distutils-r1_python_prepare_all
263 -}
264 -
265 -python_test() {
266 - py.test -v || die
267 -}
268
269 diff --git a/dev-python/requests/requests-2.14.2.ebuild b/dev-python/requests/requests-2.14.2.ebuild
270 deleted file mode 100644
271 index f344c8e9fa8..00000000000
272 --- a/dev-python/requests/requests-2.14.2.ebuild
273 +++ /dev/null
274 @@ -1,54 +0,0 @@
275 -# Copyright 1999-2017 Gentoo Foundation
276 -# Distributed under the terms of the GNU General Public License v2
277 -
278 -EAPI=6
279 -
280 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
281 -PYTHON_REQ_USE="threads(+)"
282 -
283 -inherit distutils-r1
284 -
285 -DESCRIPTION="HTTP library for human beings"
286 -HOMEPAGE="http://python-requests.org/ https://pypi.org/project/requests/"
287 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
288 -
289 -LICENSE="Apache-2.0"
290 -SLOT="0"
291 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
292 -IUSE="test"
293 -
294 -RDEPEND="
295 - app-misc/ca-certificates
296 - >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
297 - >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
298 - >=dev-python/idna-2.5[${PYTHON_USEDEP}]
299 - dev-python/ndg-httpsclient[${PYTHON_USEDEP}]
300 - >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
301 - >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
302 - "
303 -DEPEND="${RDEPEND}
304 - dev-python/setuptools[${PYTHON_USEDEP}]
305 - test? (
306 - >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
307 - )
308 - "
309 -# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}]
310 -
311 -# tests connect to various remote sites
312 -RESTRICT="test"
313 -
314 -PATCHES=(
315 - "${FILESDIR}"/${P}-system-packages.patch
316 - "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
317 -)
318 -
319 -python_prepare_all() {
320 - # use system chardet & urllib3
321 - rm -r requests/packages/{chardet,urllib3} || die
322 -
323 - distutils-r1_python_prepare_all
324 -}
325 -
326 -python_test() {
327 - py.test -v || die
328 -}
329
330 diff --git a/dev-python/requests/requests-2.18.2-r2.ebuild b/dev-python/requests/requests-2.18.2-r2.ebuild
331 deleted file mode 100644
332 index f445f7e031f..00000000000
333 --- a/dev-python/requests/requests-2.18.2-r2.ebuild
334 +++ /dev/null
335 @@ -1,47 +0,0 @@
336 -# Copyright 1999-2018 Gentoo Foundation
337 -# Distributed under the terms of the GNU General Public License v2
338 -
339 -EAPI=6
340 -
341 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
342 -PYTHON_REQ_USE="threads(+)"
343 -
344 -inherit distutils-r1
345 -
346 -DESCRIPTION="HTTP library for human beings"
347 -HOMEPAGE="http://python-requests.org/"
348 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
349 -
350 -LICENSE="Apache-2.0"
351 -SLOT="0"
352 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
353 -IUSE="socks5 +ssl test"
354 -
355 -RDEPEND="
356 - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
357 - >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
358 - >=dev-python/idna-2.5[${PYTHON_USEDEP}]
359 - <dev-python/idna-2.6[${PYTHON_USEDEP}]
360 - <dev-python/urllib3-1.23[${PYTHON_USEDEP}]
361 - socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
362 - ssl? (
363 - >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
364 - >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
365 - )
366 -"
367 -
368 -DEPEND="${RDEPEND}
369 - dev-python/setuptools[${PYTHON_USEDEP}]
370 -"
371 -# tests connect to various remote sites
372 -RESTRICT="test"
373 -# test? (
374 -# dev-python/pytest[${PYTHON_USEDEP}]
375 -# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
376 -# dev-python/pytest-mock[${PYTHON_USEDEP}]
377 -# dev-python/pytest-xdist[${PYTHON_USEDEP}]
378 -# )
379 -
380 -python_test() {
381 - py.test -v --boxed || die
382 -}
383
384 diff --git a/dev-python/requests/requests-2.19.1-r1.ebuild b/dev-python/requests/requests-2.19.1-r1.ebuild
385 deleted file mode 100644
386 index 0d6c239ab99..00000000000
387 --- a/dev-python/requests/requests-2.19.1-r1.ebuild
388 +++ /dev/null
389 @@ -1,52 +0,0 @@
390 -# Copyright 1999-2018 Gentoo Foundation
391 -# Distributed under the terms of the GNU General Public License v2
392 -
393 -EAPI=6
394 -
395 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
396 -PYTHON_REQ_USE="threads(+)"
397 -
398 -inherit distutils-r1
399 -
400 -DESCRIPTION="HTTP library for human beings"
401 -HOMEPAGE="http://python-requests.org/"
402 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
403 -
404 -LICENSE="Apache-2.0"
405 -SLOT="0"
406 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
407 -IUSE="socks5 +ssl"
408 -
409 -RDEPEND="
410 - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
411 - >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
412 - >=dev-python/idna-2.5[${PYTHON_USEDEP}]
413 - <dev-python/idna-2.8[${PYTHON_USEDEP}]
414 - <dev-python/urllib3-1.24[${PYTHON_USEDEP}]
415 - socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
416 - ssl? (
417 - >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
418 - >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
419 - )
420 -"
421 -
422 -DEPEND="${RDEPEND}
423 - dev-python/setuptools[${PYTHON_USEDEP}]
424 -"
425 -
426 -# tests connect to various remote sites
427 -RESTRICT="test"
428 -
429 -#DEPEND+="
430 -# test? (
431 -# dev-python/pytest[${PYTHON_USEDEP}]
432 -# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
433 -# dev-python/pytest-mock[${PYTHON_USEDEP}]
434 -# dev-python/pytest-xdist[${PYTHON_USEDEP}]
435 -# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
436 -# )
437 -#"
438 -
439 -python_test() {
440 - py.test || die
441 -}