1 |
commit: 4e67a7471d8eede5c8ec9fea07c6a81fc1254fa1 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 3 11:58:36 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 3 11:58:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e67a747 |
7 |
|
8 |
dev-python/httpretty: 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/httpretty/Manifest | 6 -- |
14 |
.../httpretty/files/httpretty-0.7.0-deps.patch | 68 ---------------------- |
15 |
dev-python/httpretty/httpretty-0.7.0.ebuild | 50 ---------------- |
16 |
dev-python/httpretty/httpretty-0.7.1.ebuild | 46 --------------- |
17 |
dev-python/httpretty/httpretty-0.8.0-r1.ebuild | 65 --------------------- |
18 |
dev-python/httpretty/httpretty-0.8.0.ebuild | 45 -------------- |
19 |
dev-python/httpretty/httpretty-0.8.10.ebuild | 65 --------------------- |
20 |
dev-python/httpretty/httpretty-0.8.12.ebuild | 68 ---------------------- |
21 |
dev-python/httpretty/httpretty-0.8.6.ebuild | 65 --------------------- |
22 |
9 files changed, 478 deletions(-) |
23 |
|
24 |
diff --git a/dev-python/httpretty/Manifest b/dev-python/httpretty/Manifest |
25 |
index fd035159718..6a66df776e0 100644 |
26 |
--- a/dev-python/httpretty/Manifest |
27 |
+++ b/dev-python/httpretty/Manifest |
28 |
@@ -1,7 +1 @@ |
29 |
-DIST httpretty-0.7.0.tar.gz 28066 BLAKE2B e4460fb060efd5b2551218a01f52b9dc6250f1ad0582e8c48ebc98fbaaac053ca914620e7a88d4404e8a15106853caae31ee05434f3756f293c1d01db23e5514 SHA512 9adfd906336aa0ac2c21be8b789eb2e57994f4aac719958fc657291d922fe28b1fcc60d9b39e0e616b6d8565adaecb8228df3a9d1428cc189372b1cc700f664e |
30 |
-DIST httpretty-0.7.1.tar.gz 28394 BLAKE2B 2b98d2b6f9cca35d5396a038c0851cffc6aa45456f6ae3ef082b0fba90c6cd137a2e99534ee836c7c00b5394668a266206df579253a32b4213b8127b58f8d629 SHA512 53b6f063e0e7863fa77aad1eebb0ad3078528bc97d26df80a3c6491c42b9a9008080da35bbb1e9372674c996f25e5109c84b48a2a6d9f0de5b7c53331bdad857 |
31 |
-DIST httpretty-0.8.0.tar.gz 34291 BLAKE2B 71bc13eeb1153f6b7a1c5e60b6cb197a3e6a7d8bf32db047843d17cdd1fe0eff0904f10c4b9424728e12f12a98574de317a6a7db16b1f1e8315642e872187275 SHA512 0c6193c488a27345b3d98cc6a62e8933b67828b7335700367b28cf328ef86ff2342056bada84ca631d6acc5650b7b456e80d85d8099e873f07cd41140c481650 |
32 |
-DIST httpretty-0.8.10.tar.gz 41741 BLAKE2B 2d0648074eea08223fe2191c1f416af7349ab16d1578e4b259d02e163462bb1c2222f122ed532a9d4c8179d332ef29347a8da67765e34a81643f8fa988f095bd SHA512 5bc734a89c45daa746551ef7d150c02bf6d9cddf1bc5426a8800d2241bb5bf8a834d2736fd9a4846ce150747d9c2064686a3ed63e97e5f131778d834956a9107 |
33 |
-DIST httpretty-0.8.12.tar.gz 43396 BLAKE2B ed2b9e7d8b2e7088a613234c8d60edcc5294506c77f16e5821060e3115bc8521f568abba313b359008add09e47e320bfc7178eca86e5e59158d7e303dc6f017d SHA512 1d1cbc2fd56c4aa8c2ba1e5bdb6d56db57a74f73028ebeab141f93d55eaac4a46a19c66148435e45c91d21a561ecaa6100cbe1ac0dbb65b2bdf2c8551b99a523 |
34 |
DIST httpretty-0.8.14.tar.gz 43574 BLAKE2B 4015bb234c2fe3017a43fff6e3b51a7f015d9d133756d4326750da1ea06ce1910d91d7b47625a08ec85856d156a0d8b3b18706e582578e3d186994b8e4f55c69 SHA512 5adab6450e8360cc21bab4136f64cd11757b9f292c7e27980fe2561f3e705baf4f0211b9e6ff4ec9ba96a788a6c5b5b1d26657972b67423c9c25491927b0884b |
35 |
-DIST httpretty-0.8.6.tar.gz 40815 BLAKE2B 6964f96fb6de59f2ff9bc5018e6bec15c391454888fb0f42045257bad8fcc96a9cb6e1c4f4347267e85efc96473ede26c37f6680b67bb47a1632e371dcf313de SHA512 bd5d0b1a33b52ae3d0e09673429e771ce582795bf58d38b34d4df39f74b377ec199d720fa061a84b64175b6ba67a91bdb35c242b4fd754627d2744cb8b33b313 |
36 |
|
37 |
diff --git a/dev-python/httpretty/files/httpretty-0.7.0-deps.patch b/dev-python/httpretty/files/httpretty-0.7.0-deps.patch |
38 |
deleted file mode 100644 |
39 |
index 26c6ebec4e5..00000000000 |
40 |
--- a/dev-python/httpretty/files/httpretty-0.7.0-deps.patch |
41 |
+++ /dev/null |
42 |
@@ -1,68 +0,0 @@ |
43 |
-rebased from https://github.com/jamielennox/HTTPretty/commit/3a7d5a04b2ed5cebc8e1fc14f706f5da7fc5162f |
44 |
-diff -ur httpretty-0.7.0.orig/requirements.pip httpretty-0.7.0/requirements.pip |
45 |
---- requirements.pip 2013-10-02 12:44:47.000000000 +0800 |
46 |
-+++ requirements.pip 2013-12-02 15:37:00.611977792 +0800 |
47 |
-@@ -1,12 +1,9 @@ |
48 |
--argparse==1.2.1 |
49 |
--coverage==3.5.3 |
50 |
--httplib2==0.7.6 |
51 |
--misaka==1.0.2 |
52 |
--mock==1.0.1 |
53 |
--nose==1.2.1 |
54 |
--requests==1.1.0 |
55 |
--steadymark==0.4.5 |
56 |
-+coverage>=3.5 |
57 |
-+httplib2 |
58 |
-+mock>=1.0 |
59 |
-+nose>=1.2 |
60 |
-+requests>=1.1 |
61 |
- sure>=1.2.1 |
62 |
--tornado==2.4 |
63 |
--tox==1.4.2 |
64 |
--urllib3 |
65 |
-\ No newline at end of file |
66 |
-+tornado>=2.2 |
67 |
-+tox>=1.4.2 |
68 |
-+urllib3 |
69 |
-diff -ur httpretty-0.7.0.orig/setup.cfg httpretty-0.7.0/setup.cfg |
70 |
---- setup.cfg 2013-10-08 05:42:31.000000000 +0800 |
71 |
-+++ setup.cfg 2013-12-02 15:40:34.331985437 +0800 |
72 |
-@@ -2,4 +2,9 @@ |
73 |
- tag_build = |
74 |
- tag_date = 0 |
75 |
- tag_svn_revision = 0 |
76 |
-- |
77 |
-+[nosetests] |
78 |
-+verbosity=2 |
79 |
-+with-coverage=1 |
80 |
-+cover-erase=1 |
81 |
-+cover-package=httpretty |
82 |
-+cover-inclusive=1 |
83 |
-diff -ur httpretty-0.7.0.orig/setup.py httpretty-0.7.0/setup.py |
84 |
---- setup.py 2013-10-08 05:42:31.000000000 +0800 |
85 |
-+++ setup.py 2013-12-02 15:42:26.467989448 +0800 |
86 |
-@@ -50,10 +50,11 @@ |
87 |
- author_email='gabriel@××××××××××.org', |
88 |
- url='http://github.com/gabrielfalcao/httpretty', |
89 |
- zip_safe=False, |
90 |
-- packages=find_packages(HTTPRETTY_PATH, ('tests')), |
91 |
-+ packages=find_packages(), |
92 |
- tests_require=test_packages(), |
93 |
- install_requires=['urllib3'], |
94 |
- license='MIT', |
95 |
-+ test_suite='nose.collector', |
96 |
- classifiers=["Intended Audience :: Developers", |
97 |
- "License :: OSI Approved :: MIT License", |
98 |
- "Topic :: Software Development :: Testing"], |
99 |
-diff -ur httpretty-0.7.0.orig/tests/functional/test_requests.py httpretty-0.7.0/tests/functional/test_requests.py |
100 |
---- tests/functional/test_requests.py 2013-10-08 05:42:31.000000000 +0800 |
101 |
-+++ tests/functional/test_requests.py 2013-12-02 15:43:48.763992391 +0800 |
102 |
-@@ -698,7 +698,7 @@ |
103 |
- response['response'].should.have.key("status").being.equal(200) |
104 |
- response['response'].should.have.key("body").being.an(unicode) |
105 |
- response['response'].should.have.key("headers").being.a(dict) |
106 |
-- response['response']["headers"].should.have.key("server").being.equal("TornadoServer/2.4") |
107 |
-+ response['response']["headers"].should.have.key("server").being.equal("TornadoServer") |
108 |
- |
109 |
- |
110 |
- def test_playing_calls(): |
111 |
|
112 |
diff --git a/dev-python/httpretty/httpretty-0.7.0.ebuild b/dev-python/httpretty/httpretty-0.7.0.ebuild |
113 |
deleted file mode 100644 |
114 |
index eec8bd8fc2d..00000000000 |
115 |
--- a/dev-python/httpretty/httpretty-0.7.0.ebuild |
116 |
+++ /dev/null |
117 |
@@ -1,50 +0,0 @@ |
118 |
-# Copyright 1999-2014 Gentoo Foundation |
119 |
-# Distributed under the terms of the GNU General Public License v2 |
120 |
- |
121 |
-EAPI=5 |
122 |
-PYTHON_COMPAT=( python2_7 ) |
123 |
- |
124 |
-inherit distutils-r1 |
125 |
- |
126 |
-DESCRIPTION="HTTP client mock for Python" |
127 |
-HOMEPAGE="https://github.com/gabrielfalcao/httpretty" |
128 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
129 |
- |
130 |
-KEYWORDS="~amd64 ~x86" |
131 |
-IUSE="test" |
132 |
-LICENSE="MIT" |
133 |
-SLOT="0" |
134 |
- |
135 |
-RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}] |
136 |
- >=dev-python/coverage-3.5[${PYTHON_USEDEP}] |
137 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
138 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
139 |
- >=dev-python/nose-1.2[${PYTHON_USEDEP}] |
140 |
- >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
141 |
- >=dev-python/steadymark-0.4.5[${PYTHON_USEDEP}] |
142 |
- >=dev-python/sure-1.2.1[${PYTHON_USEDEP}] |
143 |
- >=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
144 |
- " |
145 |
-# I believe we don't need unpackaged package markment |
146 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
147 |
- test? ( ${RDEPEND} )" |
148 |
- |
149 |
-PATCHES=( "${FILESDIR}"/${P}-deps.patch ) |
150 |
- |
151 |
-python_prepare_all() { |
152 |
- distutils-r1_python_prepare_all |
153 |
- if ! use test; then |
154 |
- rm -rf tests/ |
155 |
- fi |
156 |
-} |
157 |
- |
158 |
-python_test() { |
159 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/125 |
160 |
- nosetests tests/unit \ |
161 |
- -e test_recording_calls \ |
162 |
- -e test_playing_calls \ |
163 |
- -e test_callback_setting_headers_and_status_response \ |
164 |
- -e test_streaming_responses \ |
165 |
- tests/functional || die "Tests failed under ${EPYTHON}" |
166 |
- rm -rf tests/ "${BUILD_DIR}"/lib/tests/ || die |
167 |
-} |
168 |
|
169 |
diff --git a/dev-python/httpretty/httpretty-0.7.1.ebuild b/dev-python/httpretty/httpretty-0.7.1.ebuild |
170 |
deleted file mode 100644 |
171 |
index 9913d5128b5..00000000000 |
172 |
--- a/dev-python/httpretty/httpretty-0.7.1.ebuild |
173 |
+++ /dev/null |
174 |
@@ -1,46 +0,0 @@ |
175 |
-# Copyright 1999-2014 Gentoo Foundation |
176 |
-# Distributed under the terms of the GNU General Public License v2 |
177 |
- |
178 |
-EAPI=5 |
179 |
-PYTHON_COMPAT=( python2_7 ) |
180 |
- |
181 |
-inherit distutils-r1 |
182 |
- |
183 |
-DESCRIPTION="HTTP client mock for Python" |
184 |
-HOMEPAGE="https://github.com/gabrielfalcao/httpretty" |
185 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
186 |
- |
187 |
-KEYWORDS="~amd64 ~x86" |
188 |
-IUSE="test" |
189 |
-LICENSE="MIT" |
190 |
-SLOT="0" |
191 |
- |
192 |
-RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}] |
193 |
- >=dev-python/coverage-3.5[${PYTHON_USEDEP}] |
194 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
195 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
196 |
- >=dev-python/nose-1.2[${PYTHON_USEDEP}] |
197 |
- >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
198 |
- >=dev-python/steadymark-0.4.5[${PYTHON_USEDEP}] |
199 |
- >=dev-python/sure-1.2.1[${PYTHON_USEDEP}] |
200 |
- >=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
201 |
- " |
202 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
203 |
- test? ( ${RDEPEND} )" |
204 |
- |
205 |
-python_prepare_all() { |
206 |
- distutils-r1_python_prepare_all |
207 |
- if ! use test; then |
208 |
- rm -rf tests/ |
209 |
- fi |
210 |
-} |
211 |
- |
212 |
-python_test() { |
213 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/125 |
214 |
- nosetests tests/unit \ |
215 |
- -e test_recording_calls \ |
216 |
- -e test_playing_calls \ |
217 |
- -e test_callback_setting_headers_and_status_response \ |
218 |
- tests/functional || die "Tests failed under ${EPYTHON}" |
219 |
- rm -rf tests/ "${BUILD_DIR}"/lib/tests/ || die |
220 |
-} |
221 |
|
222 |
diff --git a/dev-python/httpretty/httpretty-0.8.0-r1.ebuild b/dev-python/httpretty/httpretty-0.8.0-r1.ebuild |
223 |
deleted file mode 100644 |
224 |
index e74338ab415..00000000000 |
225 |
--- a/dev-python/httpretty/httpretty-0.8.0-r1.ebuild |
226 |
+++ /dev/null |
227 |
@@ -1,65 +0,0 @@ |
228 |
-# Copyright 1999-2015 Gentoo Foundation |
229 |
-# Distributed under the terms of the GNU General Public License v2 |
230 |
- |
231 |
-EAPI=5 |
232 |
-PYTHON_COMPAT=( python{2_7,3_4} ) |
233 |
- |
234 |
-inherit distutils-r1 |
235 |
- |
236 |
-DESCRIPTION="HTTP client mock for Python" |
237 |
-HOMEPAGE="https://github.com/gabrielfalcao/httpretty" |
238 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
239 |
- |
240 |
-KEYWORDS="~amd64 ~x86" |
241 |
-IUSE="test" |
242 |
-LICENSE="MIT" |
243 |
-SLOT="0" |
244 |
- |
245 |
-RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}] |
246 |
- " |
247 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
248 |
- test? ( >=dev-python/coverage-3.5[${PYTHON_USEDEP}] |
249 |
- >=dev-python/nose-1.2[${PYTHON_USEDEP}] |
250 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
251 |
- dev-python/sure[${PYTHON_USEDEP}] |
252 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
253 |
- >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
254 |
- >=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
255 |
- dev-python/ipdb[${PYTHON_USEDEP}] )" |
256 |
- |
257 |
-#Required for test phase |
258 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
259 |
- |
260 |
-python_test() { |
261 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/125, still occur |
262 |
- # py3.4 hangs on many tests and is deemed underdone |
263 |
- # Upstream does not make it clear whether py3.4 is sctually tested and supported. |
264 |
- # python2.7 has substantial failure in tests/functional/test_requests.py and is removed. |
265 |
- # Some tests excluded attempt connection to the network |
266 |
- # On testing in the state below, py2.7 still has a tally of FAILED (failures=5) |
267 |
- # that occur within the folder tests/unit which upstream should address. |
268 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/236 Bug #532106 |
269 |
- |
270 |
- if [[ "${EPYTHON}" == python3.4 ]]; then |
271 |
- einfo "python3.4 not adequately supported in testsuite" |
272 |
- elif [[ "${EPYTHON}" == python2.7 ]]; then |
273 |
- rm -f tests/functional/test_requests.py || die |
274 |
- nosetests -e test_recording_calls \ |
275 |
- -e test_playing_calls \ |
276 |
- -e test_callback_setting_headers_and_status_response \ |
277 |
- -e test_httpretty_bypasses_when_disabled \ |
278 |
- -e test_using_httpretty_with_other_tcp_protocols \ |
279 |
- tests/unit \ |
280 |
- tests/functional || die "Tests failed under python2.7" |
281 |
- else |
282 |
- nosetests -e test_recording_calls \ |
283 |
- -e test_playing_calls \ |
284 |
- -e test_callback_setting_headers_and_status_response \ |
285 |
- -e test_httpretty_bypasses_when_disabled \ |
286 |
- -e test_using_httpretty_with_other_tcp_protocols \ |
287 |
- tests/unit \ |
288 |
- tests/functional || die "Tests failed under python3.3" |
289 |
- fi |
290 |
- |
291 |
- rm -rf "${BUILD_DIR}"/../tests/ || die |
292 |
-} |
293 |
|
294 |
diff --git a/dev-python/httpretty/httpretty-0.8.0.ebuild b/dev-python/httpretty/httpretty-0.8.0.ebuild |
295 |
deleted file mode 100644 |
296 |
index 5ed9516eff5..00000000000 |
297 |
--- a/dev-python/httpretty/httpretty-0.8.0.ebuild |
298 |
+++ /dev/null |
299 |
@@ -1,45 +0,0 @@ |
300 |
-# Copyright 1999-2015 Gentoo Foundation |
301 |
-# Distributed under the terms of the GNU General Public License v2 |
302 |
- |
303 |
-EAPI=5 |
304 |
-PYTHON_COMPAT=( python2_7 python3_4 ) |
305 |
- |
306 |
-inherit distutils-r1 |
307 |
- |
308 |
-DESCRIPTION="HTTP client mock for Python" |
309 |
-HOMEPAGE="https://github.com/gabrielfalcao/httpretty" |
310 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
311 |
- |
312 |
-KEYWORDS="amd64 x86" |
313 |
-IUSE="test" |
314 |
-LICENSE="MIT" |
315 |
-SLOT="0" |
316 |
- |
317 |
-RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}] |
318 |
- " |
319 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
320 |
- test? ( >=dev-python/coverage-3.5[${PYTHON_USEDEP}] |
321 |
- >=dev-python/nose-1.2[${PYTHON_USEDEP}] |
322 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
323 |
- dev-python/sure[${PYTHON_USEDEP}] |
324 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
325 |
- >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
326 |
- >=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
327 |
- dev-python/ipdb )" |
328 |
- |
329 |
-python_prepare_all() { |
330 |
- distutils-r1_python_prepare_all |
331 |
- if ! use test; then |
332 |
- rm -rf tests/ |
333 |
- fi |
334 |
-} |
335 |
- |
336 |
-python_test() { |
337 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/125 |
338 |
- nosetests tests/unit \ |
339 |
- -e test_recording_calls \ |
340 |
- -e test_playing_calls \ |
341 |
- -e test_callback_setting_headers_and_status_response \ |
342 |
- tests/functional || die "Tests failed under ${EPYTHON}" |
343 |
- rm -rf tests/ "${BUILD_DIR}"/lib/tests/ || die |
344 |
-} |
345 |
|
346 |
diff --git a/dev-python/httpretty/httpretty-0.8.10.ebuild b/dev-python/httpretty/httpretty-0.8.10.ebuild |
347 |
deleted file mode 100644 |
348 |
index d8f9443c6f9..00000000000 |
349 |
--- a/dev-python/httpretty/httpretty-0.8.10.ebuild |
350 |
+++ /dev/null |
351 |
@@ -1,65 +0,0 @@ |
352 |
-# Copyright 1999-2015 Gentoo Foundation |
353 |
-# Distributed under the terms of the GNU General Public License v2 |
354 |
- |
355 |
-EAPI=5 |
356 |
-PYTHON_COMPAT=( python{2_7,3_4} ) |
357 |
- |
358 |
-inherit distutils-r1 |
359 |
- |
360 |
-DESCRIPTION="HTTP client mock for Python" |
361 |
-HOMEPAGE="https://github.com/gabrielfalcao/httpretty" |
362 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
363 |
- |
364 |
-KEYWORDS="amd64 x86" |
365 |
-IUSE="test" |
366 |
-LICENSE="MIT" |
367 |
-SLOT="0" |
368 |
- |
369 |
-RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}] |
370 |
- " |
371 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
372 |
- test? ( >=dev-python/coverage-3.5[${PYTHON_USEDEP}] |
373 |
- >=dev-python/nose-1.2[${PYTHON_USEDEP}] |
374 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
375 |
- dev-python/sure[${PYTHON_USEDEP}] |
376 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
377 |
- >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
378 |
- >=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
379 |
- dev-python/ipdb[${PYTHON_USEDEP}] )" |
380 |
- |
381 |
-#Required for test phase |
382 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
383 |
- |
384 |
-python_test() { |
385 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/125, still occur |
386 |
- # py3.4 hangs on many tests and is deemed underdone |
387 |
- # Upstream does not make it clear whether py3.4 is sctually tested and supported. |
388 |
- # python2.7 has substantial failure in tests/functional/test_requests.py and is removed. |
389 |
- # Some tests excluded attempt connection to the network |
390 |
- # On testing in the state below, py2.7 still has a tally of FAILED (failures=5) |
391 |
- # that occur within the folder tests/unit which upstream should address. |
392 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/236 Bug #532106 |
393 |
- |
394 |
- if [[ "${EPYTHON}" == python3.4 ]]; then |
395 |
- einfo "python3.4 not adequately supported in testsuite" |
396 |
- elif [[ "${EPYTHON}" == python2.7 ]]; then |
397 |
- rm -f tests/functional/test_requests.py || die |
398 |
- nosetests -e test_recording_calls \ |
399 |
- -e test_playing_calls \ |
400 |
- -e test_callback_setting_headers_and_status_response \ |
401 |
- -e test_httpretty_bypasses_when_disabled \ |
402 |
- -e test_using_httpretty_with_other_tcp_protocols \ |
403 |
- tests/unit \ |
404 |
- tests/functional || die "Tests failed under python2.7" |
405 |
- else |
406 |
- nosetests -e test_recording_calls \ |
407 |
- -e test_playing_calls \ |
408 |
- -e test_callback_setting_headers_and_status_response \ |
409 |
- -e test_httpretty_bypasses_when_disabled \ |
410 |
- -e test_using_httpretty_with_other_tcp_protocols \ |
411 |
- tests/unit \ |
412 |
- tests/functional || die "Tests failed under python3.3" |
413 |
- fi |
414 |
- |
415 |
- rm -rf "${BUILD_DIR}"/../tests/ || die |
416 |
-} |
417 |
|
418 |
diff --git a/dev-python/httpretty/httpretty-0.8.12.ebuild b/dev-python/httpretty/httpretty-0.8.12.ebuild |
419 |
deleted file mode 100644 |
420 |
index f0dcd0326bb..00000000000 |
421 |
--- a/dev-python/httpretty/httpretty-0.8.12.ebuild |
422 |
+++ /dev/null |
423 |
@@ -1,68 +0,0 @@ |
424 |
-# Copyright 1999-2015 Gentoo Foundation |
425 |
-# Distributed under the terms of the GNU General Public License v2 |
426 |
- |
427 |
-EAPI=5 |
428 |
- |
429 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
430 |
- |
431 |
-inherit distutils-r1 |
432 |
- |
433 |
-DESCRIPTION="HTTP client mock for Python" |
434 |
-HOMEPAGE="https://github.com/gabrielfalcao/httpretty" |
435 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
436 |
- |
437 |
-SLOT="0" |
438 |
-LICENSE="MIT" |
439 |
-KEYWORDS="~amd64 ~x86" |
440 |
-IUSE="test" |
441 |
- |
442 |
-RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}]" |
443 |
-DEPEND=" |
444 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
445 |
- test? ( |
446 |
- >=dev-python/coverage-3.5[${PYTHON_USEDEP}] |
447 |
- >=dev-python/nose-1.2[${PYTHON_USEDEP}] |
448 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
449 |
- dev-python/sure[${PYTHON_USEDEP}] |
450 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
451 |
- >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
452 |
- >=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
453 |
- dev-python/ipdb[${PYTHON_USEDEP}] |
454 |
-)" |
455 |
- |
456 |
-#Required for test phase |
457 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
458 |
- |
459 |
-python_test() { |
460 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/125, still occur |
461 |
- # py3.4 hangs on many tests and is deemed underdone |
462 |
- # Upstream does not make it clear whether py3.4 is sctually tested and supported. |
463 |
- # python2.7 has substantial failure in tests/functional/test_requests.py and is removed. |
464 |
- # Some tests excluded attempt connection to the network |
465 |
- # On testing in the state below, py2.7 still has a tally of FAILED (failures=5) |
466 |
- # that occur within the folder tests/unit which upstream should address. |
467 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/236 Bug #532106 |
468 |
- |
469 |
- if [[ "${EPYTHON}" == python3.4 ]]; then |
470 |
- einfo "python3.4 not adequately supported in testsuite" |
471 |
- elif [[ "${EPYTHON}" == python2.7 ]]; then |
472 |
- rm -f tests/functional/test_requests.py || die |
473 |
- nosetests -e test_recording_calls \ |
474 |
- -e test_playing_calls \ |
475 |
- -e test_callback_setting_headers_and_status_response \ |
476 |
- -e test_httpretty_bypasses_when_disabled \ |
477 |
- -e test_using_httpretty_with_other_tcp_protocols \ |
478 |
- tests/unit \ |
479 |
- tests/functional || die "Tests failed under python2.7" |
480 |
- else |
481 |
- nosetests -e test_recording_calls \ |
482 |
- -e test_playing_calls \ |
483 |
- -e test_callback_setting_headers_and_status_response \ |
484 |
- -e test_httpretty_bypasses_when_disabled \ |
485 |
- -e test_using_httpretty_with_other_tcp_protocols \ |
486 |
- tests/unit \ |
487 |
- tests/functional || die "Tests failed under python3.3" |
488 |
- fi |
489 |
- |
490 |
- rm -rf "${BUILD_DIR}"/../tests/ || die |
491 |
-} |
492 |
|
493 |
diff --git a/dev-python/httpretty/httpretty-0.8.6.ebuild b/dev-python/httpretty/httpretty-0.8.6.ebuild |
494 |
deleted file mode 100644 |
495 |
index f4920031695..00000000000 |
496 |
--- a/dev-python/httpretty/httpretty-0.8.6.ebuild |
497 |
+++ /dev/null |
498 |
@@ -1,65 +0,0 @@ |
499 |
-# Copyright 1999-2015 Gentoo Foundation |
500 |
-# Distributed under the terms of the GNU General Public License v2 |
501 |
- |
502 |
-EAPI=5 |
503 |
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) |
504 |
- |
505 |
-inherit distutils-r1 |
506 |
- |
507 |
-DESCRIPTION="HTTP client mock for Python" |
508 |
-HOMEPAGE="https://github.com/gabrielfalcao/httpretty" |
509 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
510 |
- |
511 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
512 |
-IUSE="test" |
513 |
-LICENSE="MIT" |
514 |
-SLOT="0" |
515 |
- |
516 |
-RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}] |
517 |
- " |
518 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
519 |
- test? ( >=dev-python/coverage-3.5[${PYTHON_USEDEP}] |
520 |
- >=dev-python/nose-1.2[${PYTHON_USEDEP}] |
521 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
522 |
- dev-python/sure[${PYTHON_USEDEP}] |
523 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
524 |
- >=dev-python/requests-1.1[${PYTHON_USEDEP}] |
525 |
- >=www-servers/tornado-2.2[${PYTHON_USEDEP}] |
526 |
- dev-python/ipdb[${PYTHON_USEDEP}] )" |
527 |
- |
528 |
-#Required for test phase |
529 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
530 |
- |
531 |
-python_test() { |
532 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/125, still occur |
533 |
- # py3.4 hangs on many tests and is deemed underdone |
534 |
- # Upstream does not make it clear whether py3.4 is sctually tested and supported. |
535 |
- # python2.7 has substantial failure in tests/functional/test_requests.py and is removed. |
536 |
- # Some tests excluded attempt connection to the network |
537 |
- # On testing in the state below, py2.7 still has a tally of FAILED (failures=5) |
538 |
- # that occur within the folder tests/unit which upstream should address. |
539 |
- # https://github.com/gabrielfalcao/HTTPretty/issues/236 Bug #532106 |
540 |
- |
541 |
- if [[ "${EPYTHON}" == python3.4 ]]; then |
542 |
- einfo "python3.4 not adequately supported in testsuite" |
543 |
- elif [[ "${EPYTHON}" == python2.7 ]]; then |
544 |
- rm -f tests/functional/test_requests.py || die |
545 |
- nosetests -e test_recording_calls \ |
546 |
- -e test_playing_calls \ |
547 |
- -e test_callback_setting_headers_and_status_response \ |
548 |
- -e test_httpretty_bypasses_when_disabled \ |
549 |
- -e test_using_httpretty_with_other_tcp_protocols \ |
550 |
- tests/unit \ |
551 |
- tests/functional || die "Tests failed under python2.7" |
552 |
- else |
553 |
- nosetests -e test_recording_calls \ |
554 |
- -e test_playing_calls \ |
555 |
- -e test_callback_setting_headers_and_status_response \ |
556 |
- -e test_httpretty_bypasses_when_disabled \ |
557 |
- -e test_using_httpretty_with_other_tcp_protocols \ |
558 |
- tests/unit \ |
559 |
- tests/functional || die "Tests failed under python3.3" |
560 |
- fi |
561 |
- |
562 |
- rm -rf "${BUILD_DIR}"/../tests/ || die |
563 |
-} |