1 |
commit: 3137c710de4812e3e811b35be1c2d876ad2b5a77 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 3 09:57:51 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 3 10:31:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3137c710 |
7 |
|
8 |
dev-python/requests: Clean old versions up |
9 |
|
10 |
dev-python/requests/Manifest | 4 -- |
11 |
.../files/requests-2.9.1-system-packages.patch | 20 -------- |
12 |
dev-python/requests/requests-2.11.1.ebuild | 54 --------------------- |
13 |
dev-python/requests/requests-2.12.4.ebuild | 55 ---------------------- |
14 |
dev-python/requests/requests-2.7.0.ebuild | 44 ----------------- |
15 |
dev-python/requests/requests-2.9.1-r2.ebuild | 54 --------------------- |
16 |
6 files changed, 231 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest |
19 |
index e79c2f354bc..aa7b0437479 100644 |
20 |
--- a/dev-python/requests/Manifest |
21 |
+++ b/dev-python/requests/Manifest |
22 |
@@ -1,7 +1,3 @@ |
23 |
-DIST requests-2.11.1.tar.gz 485936 SHA256 5acf980358283faba0b897c73959cecf8b841205bb4b2ad3ef545f46eae1a133 SHA512 135cbab1e279ebf314bffca01bc4d9f9e71963c67069e330e78fbe06c4294031d1d616bc5d5e104161c8696b408887053bdd65351f85e9ff34646368c88852e5 WHIRLPOOL 838e3074f56a87766ebeb04eb75fdd6f5c83da7448b5e9297be8143330acaeae540d10939b7118cbd9e86c1749c8db5c6c22d50064e704b9c1d7278a37a48af4 |
24 |
-DIST requests-2.12.4.tar.gz 547650 SHA256 ed98431a0631e309bb4b63c81d561c1654822cb103de1ac7b47e45c26be7ae34 SHA512 100a38ad4bfe5c02c44ccfa75473da4b58416690985117750a0c2e1851e98267df740f578f6a5ad27d0a5b9de2954988f832ea1a169fffc82e8e2da15742f855 WHIRLPOOL b7e1ef3357edb36e7f9c1baee342706f8ed85b2a24d15bba9b48caf023ef10a43f43102be17e5e29cb6bfe3754d9f5f9ddb6d9fd3ad6bae11e249cd066759bb8 |
25 |
DIST requests-2.12.5.tar.gz 548336 SHA256 d902a54f08d086a7cc6e58c20e2bb225b1ae82c19c35e5925269ee94fb9fce00 SHA512 3ad60b953c6db98d26c043c7e77c3be8b28389ee1dbf32e75663cf48a8ddc2e487df27c54c64736ff42b79e35a6dbd2788065469a61a520a9818183970274cd9 WHIRLPOOL bc347e966743a940c09ed9bc98fed7422648a9b0354d36aaf94820fb306169842fafe5d34a48effb46547bb44fb46b2499cb1ba7dfd3ec029426cf97418d9c68 |
26 |
DIST requests-2.13.0.tar.gz 557508 SHA256 5722cd09762faa01276230270ff16af7acf7c5c45d623868d9ba116f15791ce8 SHA512 d3e9c25d1ce7ecf51bd4b137645d06c07170542a78fc847b1c30cad6efa9bcbf36d4b0c809389cbf260dc7d73128ab6bbed1e197cba9497b6ad791b48014ae14 WHIRLPOOL febfabea45aa45093eb04758f40a35b6479e16f833fd83abc798d2b5786bed025bb00c45e8dea9161aff735bde693573e6f5db7e5ee09ad3d2b140673e2cbcf8 |
27 |
-DIST requests-2.7.0.tar.gz 451723 SHA256 398a3db6d61899d25fd4a06c6ca12051b0ce171d705decd7ed5511517b4bb93d SHA512 a93223c3fd21c58f7c0c901b17be17c23dba4efeed8c4347da9d4e04d96a6698e08e01482205661cb7757cc7560d9ae2e62b18f2b422af0cb90fd998fe963ff2 WHIRLPOOL b805d76ad747fc8a754fb0ca0439e8f303df057c2b256ed7f57533b311322e4e28b0d8f22111a3c5ad283823c1256cd24c93fec2aeabc6946013c17ab3540dd9 |
28 |
DIST requests-2.8.1.tar.gz 480803 SHA256 84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b SHA512 bccec89165596df3af3f46eb43b5b28b595752485b00ed73978ef76fa6b8a8961c3db046c3f91ff34fa390f037322f6e13b141ba9b600a836a6d798086bd13fb WHIRLPOOL 445e0e12f5900c3396ae7a76d0010b9c4a4ff2c79c51dfc88f117918e436a4d67ea25de39f252cacaabd737b7b1542374172a2b6f482d7ffe1f7514d1cb4a06b |
29 |
-DIST requests-2.9.1.tar.gz 484252 SHA256 c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f SHA512 0b2b64b2ebb68703f2a222a3e5d0227cf15250319195a13497e38959c64b82359b70221157eab2ab828dfc79bcfec13ede4d6272f0202ae1b22ae79d5810adb9 WHIRLPOOL 9d942b97168c8a869b703db324a263ed3f5279a17e18444f7311e3d3a06aac99ef939c1d3f966025d6ac9e2967415880669b3bac6766c2d39c2faee43cb146c3 |
30 |
|
31 |
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 |
32 |
deleted file mode 100644 |
33 |
index f511d0d6524..00000000000 |
34 |
--- a/dev-python/requests/files/requests-2.9.1-system-packages.patch |
35 |
+++ /dev/null |
36 |
@@ -1,20 +0,0 @@ |
37 |
- setup.py | 6 ------ |
38 |
- 1 file changed, 6 deletions(-) |
39 |
- |
40 |
-diff --git a/setup.py b/setup.py |
41 |
-index b7ed12b..1d5abe4 100755 |
42 |
---- a/setup.py |
43 |
-+++ b/setup.py |
44 |
-@@ -18,12 +18,6 @@ if sys.argv[-1] == 'publish': |
45 |
- packages = [ |
46 |
- 'requests', |
47 |
- 'requests.packages', |
48 |
-- 'requests.packages.chardet', |
49 |
-- 'requests.packages.urllib3', |
50 |
-- 'requests.packages.urllib3.packages', |
51 |
-- 'requests.packages.urllib3.contrib', |
52 |
-- 'requests.packages.urllib3.util', |
53 |
-- 'requests.packages.urllib3.packages.ssl_match_hostname', |
54 |
- ] |
55 |
- |
56 |
- requires = [] |
57 |
|
58 |
diff --git a/dev-python/requests/requests-2.11.1.ebuild b/dev-python/requests/requests-2.11.1.ebuild |
59 |
deleted file mode 100644 |
60 |
index 4fadd2dee90..00000000000 |
61 |
--- a/dev-python/requests/requests-2.11.1.ebuild |
62 |
+++ /dev/null |
63 |
@@ -1,54 +0,0 @@ |
64 |
-# Copyright 1999-2017 Gentoo Foundation |
65 |
-# Distributed under the terms of the GNU General Public License v2 |
66 |
- |
67 |
-EAPI=6 |
68 |
- |
69 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
70 |
-PYTHON_REQ_USE="threads(+)" |
71 |
- |
72 |
-inherit distutils-r1 |
73 |
- |
74 |
-DESCRIPTION="HTTP library for human beings" |
75 |
-HOMEPAGE="http://python-requests.org/ https://pypi.python.org/pypi/requests" |
76 |
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
77 |
- |
78 |
-LICENSE="Apache-2.0" |
79 |
-SLOT="0" |
80 |
-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" |
81 |
-IUSE="test" |
82 |
- |
83 |
-RDEPEND=" |
84 |
- app-misc/ca-certificates |
85 |
- >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}] |
86 |
- dev-python/ndg-httpsclient[${PYTHON_USEDEP}] |
87 |
- >=dev-python/py-1.4.30[${PYTHON_USEDEP}] |
88 |
- dev-python/pyasn1[${PYTHON_USEDEP}] |
89 |
- >=dev-python/pyopenssl-0.13[$(python_gen_usedep 'python*' pypy)] |
90 |
- >=dev-python/urllib3-1.14[${PYTHON_USEDEP}] |
91 |
- " |
92 |
-DEPEND="${RDEPEND} |
93 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
94 |
- test? ( |
95 |
- >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] |
96 |
- ) |
97 |
- " |
98 |
-# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}] |
99 |
- |
100 |
-# tests connect to various remote sites |
101 |
-RESTRICT="test" |
102 |
- |
103 |
-PATCHES=( |
104 |
- "${FILESDIR}"/${PN}-2.9.1-system-packages.patch |
105 |
- "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch |
106 |
-) |
107 |
- |
108 |
-python_prepare_all() { |
109 |
- # use system chardet & urllib3 |
110 |
- rm -r requests/packages/{chardet,urllib3} || die |
111 |
- |
112 |
- distutils-r1_python_prepare_all |
113 |
-} |
114 |
- |
115 |
-python_test() { |
116 |
- py.test -v || die |
117 |
-} |
118 |
|
119 |
diff --git a/dev-python/requests/requests-2.12.4.ebuild b/dev-python/requests/requests-2.12.4.ebuild |
120 |
deleted file mode 100644 |
121 |
index 65a15ac50e5..00000000000 |
122 |
--- a/dev-python/requests/requests-2.12.4.ebuild |
123 |
+++ /dev/null |
124 |
@@ -1,55 +0,0 @@ |
125 |
-# Copyright 1999-2017 Gentoo Foundation |
126 |
-# Distributed under the terms of the GNU General Public License v2 |
127 |
- |
128 |
-EAPI=6 |
129 |
- |
130 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
131 |
-PYTHON_REQ_USE="threads(+)" |
132 |
- |
133 |
-inherit distutils-r1 |
134 |
- |
135 |
-DESCRIPTION="HTTP library for human beings" |
136 |
-HOMEPAGE="http://python-requests.org/ https://pypi.python.org/pypi/requests" |
137 |
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
138 |
- |
139 |
-LICENSE="Apache-2.0" |
140 |
-SLOT="0" |
141 |
-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" |
142 |
-IUSE="test" |
143 |
- |
144 |
-RDEPEND=" |
145 |
- app-misc/ca-certificates |
146 |
- >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}] |
147 |
- >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] |
148 |
- >=dev-python/idna-2.0[${PYTHON_USEDEP}] |
149 |
- dev-python/ndg-httpsclient[${PYTHON_USEDEP}] |
150 |
- >=dev-python/py-1.4.30[${PYTHON_USEDEP}] |
151 |
- >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)] |
152 |
- >=dev-python/urllib3-1.14[${PYTHON_USEDEP}] |
153 |
- " |
154 |
-DEPEND="${RDEPEND} |
155 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
156 |
- test? ( |
157 |
- >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] |
158 |
- ) |
159 |
- " |
160 |
-# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}] |
161 |
- |
162 |
-# tests connect to various remote sites |
163 |
-RESTRICT="test" |
164 |
- |
165 |
-PATCHES=( |
166 |
- "${FILESDIR}"/${PN}-2.12.1-system-packages.patch |
167 |
- "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch |
168 |
-) |
169 |
- |
170 |
-python_prepare_all() { |
171 |
- # use system chardet & urllib3 |
172 |
- rm -r requests/packages/{chardet,urllib3} || die |
173 |
- |
174 |
- distutils-r1_python_prepare_all |
175 |
-} |
176 |
- |
177 |
-python_test() { |
178 |
- py.test -v || die |
179 |
-} |
180 |
|
181 |
diff --git a/dev-python/requests/requests-2.7.0.ebuild b/dev-python/requests/requests-2.7.0.ebuild |
182 |
deleted file mode 100644 |
183 |
index fdd019cae02..00000000000 |
184 |
--- a/dev-python/requests/requests-2.7.0.ebuild |
185 |
+++ /dev/null |
186 |
@@ -1,44 +0,0 @@ |
187 |
-# Copyright 1999-2015 Gentoo Foundation |
188 |
-# Distributed under the terms of the GNU General Public License v2 |
189 |
- |
190 |
-EAPI=5 |
191 |
- |
192 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) |
193 |
-PYTHON_REQ_USE="threads(+)" |
194 |
- |
195 |
-inherit distutils-r1 |
196 |
- |
197 |
-DESCRIPTION="HTTP library for human beings" |
198 |
-HOMEPAGE="http://python-requests.org/ https://pypi.python.org/pypi/requests" |
199 |
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
200 |
- |
201 |
-LICENSE="Apache-2.0" |
202 |
-SLOT="0" |
203 |
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
204 |
-IUSE="" |
205 |
- |
206 |
-# bundles dev-python/urllib3 snapshot |
207 |
-RDEPEND=" |
208 |
- app-misc/ca-certificates |
209 |
- >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]" |
210 |
-DEPEND="${RDEPEND} |
211 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
212 |
- |
213 |
-# tests connect to various remote sites |
214 |
-RESTRICT="test" |
215 |
- |
216 |
-PATCHES=( |
217 |
- "${FILESDIR}"/${PN}-2.2.0-system-chardet.patch |
218 |
- "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch |
219 |
-) |
220 |
- |
221 |
-python_prepare_all() { |
222 |
- # use system chardet |
223 |
- rm -r requests/packages/chardet || die |
224 |
- |
225 |
- distutils-r1_python_prepare_all |
226 |
-} |
227 |
- |
228 |
-python_test() { |
229 |
- "${PYTHON}" test_requests.py || die "Tests fail with ${EPYTHON}" |
230 |
-} |
231 |
|
232 |
diff --git a/dev-python/requests/requests-2.9.1-r2.ebuild b/dev-python/requests/requests-2.9.1-r2.ebuild |
233 |
deleted file mode 100644 |
234 |
index 13f4d3a8a07..00000000000 |
235 |
--- a/dev-python/requests/requests-2.9.1-r2.ebuild |
236 |
+++ /dev/null |
237 |
@@ -1,54 +0,0 @@ |
238 |
-# Copyright 1999-2016 Gentoo Foundation |
239 |
-# Distributed under the terms of the GNU General Public License v2 |
240 |
- |
241 |
-EAPI=5 |
242 |
- |
243 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) |
244 |
-PYTHON_REQ_USE="threads(+)" |
245 |
- |
246 |
-inherit distutils-r1 |
247 |
- |
248 |
-DESCRIPTION="HTTP library for human beings" |
249 |
-HOMEPAGE="http://python-requests.org/ https://pypi.python.org/pypi/requests" |
250 |
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
251 |
- |
252 |
-LICENSE="Apache-2.0" |
253 |
-SLOT="0" |
254 |
-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" |
255 |
-IUSE="test" |
256 |
- |
257 |
-RDEPEND=" |
258 |
- app-misc/ca-certificates |
259 |
- >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}] |
260 |
- dev-python/ndg-httpsclient[${PYTHON_USEDEP}] |
261 |
- >=dev-python/py-1.4.30[${PYTHON_USEDEP}] |
262 |
- dev-python/pyasn1[${PYTHON_USEDEP}] |
263 |
- >=dev-python/pyopenssl-0.13[$(python_gen_usedep 'python*' pypy)] |
264 |
- >=dev-python/urllib3-1.13.1-r1[${PYTHON_USEDEP}] |
265 |
- " |
266 |
-DEPEND="${RDEPEND} |
267 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
268 |
- test? ( |
269 |
- >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] |
270 |
- ) |
271 |
- " |
272 |
-# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}] |
273 |
- |
274 |
-# tests connect to various remote sites |
275 |
-RESTRICT="test" |
276 |
- |
277 |
-PATCHES=( |
278 |
- "${FILESDIR}"/${P}-system-packages.patch |
279 |
- "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch |
280 |
-) |
281 |
- |
282 |
-python_prepare_all() { |
283 |
- # use system chardet & urllib3 |
284 |
- rm -r requests/packages/{chardet,urllib3} || die |
285 |
- |
286 |
- distutils-r1_python_prepare_all |
287 |
-} |
288 |
- |
289 |
-python_test() { |
290 |
- py.test -v || die |
291 |
-} |