Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/
Date: Fri, 16 Jul 2021 06:54:38
Message-Id: 1626418465.8bdbb003bbadc4e6ec3ea92aa7d3efe7c4bd87bc.mgorny@gentoo
1 commit: 8bdbb003bbadc4e6ec3ea92aa7d3efe7c4bd87bc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 16 06:18:41 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 06:54:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bdbb003
7
8 dev-python/botocore: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/botocore/Manifest | 7 ----
13 dev-python/botocore/botocore-1.20.105.ebuild | 59 ----------------------------
14 dev-python/botocore/botocore-1.20.106.ebuild | 59 ----------------------------
15 dev-python/botocore/botocore-1.20.107.ebuild | 59 ----------------------------
16 dev-python/botocore/botocore-1.20.108.ebuild | 59 ----------------------------
17 dev-python/botocore/botocore-1.20.109.ebuild | 59 ----------------------------
18 dev-python/botocore/botocore-1.20.110.ebuild | 59 ----------------------------
19 dev-python/botocore/botocore-1.20.111.ebuild | 59 ----------------------------
20 8 files changed, 420 deletions(-)
21
22 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
23 index 21b312f551e..bafdf239d69 100644
24 --- a/dev-python/botocore/Manifest
25 +++ b/dev-python/botocore/Manifest
26 @@ -1,10 +1,3 @@
27 DIST botocore-1.20.104.tar.gz 7883624 BLAKE2B 4fb4c6abff5a2c3d3e19b11576e723f15a442b2d49e461a2a4c2bd613e26095ceb87f4b7ceb672f338ea04ad918060bed118f7bc4c184c46cce1d6a9f98d4239 SHA512 2201d87ce2e1c8979548698d6a46eb03c0a2026360b178fea895ad6a244efad534d9970d3c6343d50639d25b3b8643db6744658fec14e0fa29fd7c4b45c8e0d8
28 -DIST botocore-1.20.105.tar.gz 7883335 BLAKE2B b48347e304ea54b56a37faae8bcbe9c127118b5bfadc71ffff3f6914b57f4d819faaadfc25834e49c9523f073f639823db4046bcbd9b5b72ee1df4c2ad198338 SHA512 72267620e4ecb7e4e4fa446b8f5c0b42d2e0af372f9e8bcfea123e5d8a6f4638102d57a9eb9f3c6f2358c6c2b36e727552c0b350b07f95a79292fb3c2cf4dd99
29 -DIST botocore-1.20.106.tar.gz 7885164 BLAKE2B 3fa8b860a40a0915f6a59912fdee7b9e55fa88170da747d4d87464a5b44d6cbd5ce83cec383a7a1f41ec9a203d43a8cc006c7fc0005bfcf2869d66aa9f333b14 SHA512 135d789e2d5975697840dc4aca759b2d07d70d58efed7356a3323feb54faa2b8a339a48a3ac931270e335bc730eb8cc5e87f6fc2f9e3aebc452aab331ca49261
30 -DIST botocore-1.20.107.tar.gz 7893209 BLAKE2B 4e4882efef667ae91bb3e42a84748609390ef637d0a72a0b8b9dbab83a55cac9117553a0ef34bd38af98493d0972fd6178b322207c71914068eb3c634debaae9 SHA512 09c7a4bc4fab922aa7dbe94fcc0da6a462dbd90bdd51e8612431e5a790b46c56eab3b436048572a4a14c6ed2417ddca8efa52474d28fbe32558550c44b3fe0dd
31 -DIST botocore-1.20.108.tar.gz 7897833 BLAKE2B 3b4ee27640dbfce1c9923137ef21500649454eba8e1a5b569fb0d949253e619852b61344ff86c769e2f2314a089047fe9590a685982491b21f4f7feb0a33b220 SHA512 a394fa8fc686d07ad5e1a25f0403d4adf53aa6af565696c4bd5aab58ee8f739b761f4c8058263a05b028175d1256ab87fa7fae3035cee605f236749939cc0eab
32 -DIST botocore-1.20.109.tar.gz 7900306 BLAKE2B 1f2009ccb236ff7b4d9d3b45b34b2295c9bbbd4bce207c51514bf3f568985eb3d5fedaf0e5309266f46ad1e42466524d148d601452474b738b53c329f0164a84 SHA512 7f266b2395f79bfa629ac147abbf646bf049ea78b208228b3817912626845fffac9c89419c75444116ae6f14067805e291faeb942e6d25061d2e6f1c382d762e
33 -DIST botocore-1.20.110.tar.gz 7904149 BLAKE2B f503e9d4876820f669bd4ae12603498fe0a310fddd7a7c739a53b804391657c48144c43c2dd3606932c7e457d1e2324a5dba4885e93eaf7526d46080b565c6d8 SHA512 e33d8e9dbd212d06644882e60c9b6f2754a549727a22d73814798230561b3d766524f0a32b49cce8ac68c1cb47e58eab7047abe75bf7c37ef7b6857dd81d2dbc
34 -DIST botocore-1.20.111.tar.gz 7909299 BLAKE2B d1eabf5d433d521258125f29b21efc58208bb58a23bc856d6397ee2da834d85728454644568784fb05ab08f4bc5536675166874536264690cf9244e433340763 SHA512 d08323e2ad0b17dcecf59edbea60920e0077b34582cc8e84c08ab4f8600b6b509ac98b8a415fcfa019682e9d22bf05ececfa2c0f96fd3c17ca2aa47fcdb4d903
35 DIST botocore-1.20.112.tar.gz 7917776 BLAKE2B 6a5ebf3d32c505ec2c1fc4cd3d97aa94c76b6206dda6ba28a946dfdc9973073019389c05d1cf09a0eced701fe86a9b8a292835415c0b1ceea75959a3186f65c6 SHA512 4b36367ffdd011aeb7654fd5c52c38e95bae4c55e5af85e38b0764140539ad1f8b9d75b0c7fd1009fda8d005ef4b17673b06f85a76b52fcebf05925297b6bbbf
36 DIST botocore-1.20.97.tar.gz 7846552 BLAKE2B da0355cc229ba8a0632f67866bf06b27d7b257184b53670e5dc183c6b5a1f4d3a34145de0a3f04abd2adc08de3f0775e3c7e0dbecae729acb5bc05c7ce9acaf2 SHA512 7411d5de8ecf0c42c0142ded036189dcf378cd16f761071beb5bc2a2c240eabb0c4a8c669ce89a5b4e798a0aae92f0e67755627c2a84df77fc2e9557265a4e3b
37
38 diff --git a/dev-python/botocore/botocore-1.20.105.ebuild b/dev-python/botocore/botocore-1.20.105.ebuild
39 deleted file mode 100644
40 index 30e0988848a..00000000000
41 --- a/dev-python/botocore/botocore-1.20.105.ebuild
42 +++ /dev/null
43 @@ -1,59 +0,0 @@
44 -# Copyright 1999-2021 Gentoo Authors
45 -# Distributed under the terms of the GNU General Public License v2
46 -
47 -EAPI=8
48 -
49 -PYTHON_COMPAT=( python3_{8..10} )
50 -inherit distutils-r1
51 -
52 -DESCRIPTION="Low-level, data-driven core of boto 3"
53 -HOMEPAGE="https://github.com/boto/botocore"
54 -LICENSE="Apache-2.0"
55 -SLOT="0"
56 -
57 -if [[ "${PV}" == "9999" ]]; then
58 - EGIT_REPO_URI="https://github.com/boto/botocore"
59 - inherit git-r3
60 -else
61 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
62 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
63 -fi
64 -
65 -RDEPEND="
66 - dev-python/six[${PYTHON_USEDEP}]
67 - dev-python/jmespath[${PYTHON_USEDEP}]
68 - dev-python/python-dateutil[${PYTHON_USEDEP}]
69 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
70 -"
71 -BDEPEND="
72 - test? (
73 - dev-python/mock[${PYTHON_USEDEP}]
74 - dev-python/jsonschema[${PYTHON_USEDEP}]
75 - )
76 -"
77 -
78 -PATCHES=(
79 - "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
80 -)
81 -
82 -distutils_enable_sphinx docs/source \
83 - 'dev-python/guzzle_sphinx_theme'
84 -distutils_enable_tests nose
85 -
86 -src_prepare() {
87 - # unpin deps
88 - sed -i -e "s:>=.*':':" setup.py || die
89 - # very unstable
90 - sed -i -e 's:test_stress_test_token_bucket:_&:' \
91 - tests/functional/retries/test_bucket.py || die
92 - distutils-r1_src_prepare
93 -}
94 -
95 -python_test() {
96 - # note: suites need to be run separately as one of the unit tests
97 - # seems to be leaking mocks and breaking a few functional tests
98 - nosetests -v tests/unit ||
99 - die "unit tests failed under ${EPYTHON}"
100 - nosetests -v tests/functional ||
101 - die "functional tests failed under ${EPYTHON}"
102 -}
103
104 diff --git a/dev-python/botocore/botocore-1.20.106.ebuild b/dev-python/botocore/botocore-1.20.106.ebuild
105 deleted file mode 100644
106 index 30e0988848a..00000000000
107 --- a/dev-python/botocore/botocore-1.20.106.ebuild
108 +++ /dev/null
109 @@ -1,59 +0,0 @@
110 -# Copyright 1999-2021 Gentoo Authors
111 -# Distributed under the terms of the GNU General Public License v2
112 -
113 -EAPI=8
114 -
115 -PYTHON_COMPAT=( python3_{8..10} )
116 -inherit distutils-r1
117 -
118 -DESCRIPTION="Low-level, data-driven core of boto 3"
119 -HOMEPAGE="https://github.com/boto/botocore"
120 -LICENSE="Apache-2.0"
121 -SLOT="0"
122 -
123 -if [[ "${PV}" == "9999" ]]; then
124 - EGIT_REPO_URI="https://github.com/boto/botocore"
125 - inherit git-r3
126 -else
127 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
128 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
129 -fi
130 -
131 -RDEPEND="
132 - dev-python/six[${PYTHON_USEDEP}]
133 - dev-python/jmespath[${PYTHON_USEDEP}]
134 - dev-python/python-dateutil[${PYTHON_USEDEP}]
135 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
136 -"
137 -BDEPEND="
138 - test? (
139 - dev-python/mock[${PYTHON_USEDEP}]
140 - dev-python/jsonschema[${PYTHON_USEDEP}]
141 - )
142 -"
143 -
144 -PATCHES=(
145 - "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
146 -)
147 -
148 -distutils_enable_sphinx docs/source \
149 - 'dev-python/guzzle_sphinx_theme'
150 -distutils_enable_tests nose
151 -
152 -src_prepare() {
153 - # unpin deps
154 - sed -i -e "s:>=.*':':" setup.py || die
155 - # very unstable
156 - sed -i -e 's:test_stress_test_token_bucket:_&:' \
157 - tests/functional/retries/test_bucket.py || die
158 - distutils-r1_src_prepare
159 -}
160 -
161 -python_test() {
162 - # note: suites need to be run separately as one of the unit tests
163 - # seems to be leaking mocks and breaking a few functional tests
164 - nosetests -v tests/unit ||
165 - die "unit tests failed under ${EPYTHON}"
166 - nosetests -v tests/functional ||
167 - die "functional tests failed under ${EPYTHON}"
168 -}
169
170 diff --git a/dev-python/botocore/botocore-1.20.107.ebuild b/dev-python/botocore/botocore-1.20.107.ebuild
171 deleted file mode 100644
172 index 30e0988848a..00000000000
173 --- a/dev-python/botocore/botocore-1.20.107.ebuild
174 +++ /dev/null
175 @@ -1,59 +0,0 @@
176 -# Copyright 1999-2021 Gentoo Authors
177 -# Distributed under the terms of the GNU General Public License v2
178 -
179 -EAPI=8
180 -
181 -PYTHON_COMPAT=( python3_{8..10} )
182 -inherit distutils-r1
183 -
184 -DESCRIPTION="Low-level, data-driven core of boto 3"
185 -HOMEPAGE="https://github.com/boto/botocore"
186 -LICENSE="Apache-2.0"
187 -SLOT="0"
188 -
189 -if [[ "${PV}" == "9999" ]]; then
190 - EGIT_REPO_URI="https://github.com/boto/botocore"
191 - inherit git-r3
192 -else
193 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
194 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
195 -fi
196 -
197 -RDEPEND="
198 - dev-python/six[${PYTHON_USEDEP}]
199 - dev-python/jmespath[${PYTHON_USEDEP}]
200 - dev-python/python-dateutil[${PYTHON_USEDEP}]
201 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
202 -"
203 -BDEPEND="
204 - test? (
205 - dev-python/mock[${PYTHON_USEDEP}]
206 - dev-python/jsonschema[${PYTHON_USEDEP}]
207 - )
208 -"
209 -
210 -PATCHES=(
211 - "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
212 -)
213 -
214 -distutils_enable_sphinx docs/source \
215 - 'dev-python/guzzle_sphinx_theme'
216 -distutils_enable_tests nose
217 -
218 -src_prepare() {
219 - # unpin deps
220 - sed -i -e "s:>=.*':':" setup.py || die
221 - # very unstable
222 - sed -i -e 's:test_stress_test_token_bucket:_&:' \
223 - tests/functional/retries/test_bucket.py || die
224 - distutils-r1_src_prepare
225 -}
226 -
227 -python_test() {
228 - # note: suites need to be run separately as one of the unit tests
229 - # seems to be leaking mocks and breaking a few functional tests
230 - nosetests -v tests/unit ||
231 - die "unit tests failed under ${EPYTHON}"
232 - nosetests -v tests/functional ||
233 - die "functional tests failed under ${EPYTHON}"
234 -}
235
236 diff --git a/dev-python/botocore/botocore-1.20.108.ebuild b/dev-python/botocore/botocore-1.20.108.ebuild
237 deleted file mode 100644
238 index 30e0988848a..00000000000
239 --- a/dev-python/botocore/botocore-1.20.108.ebuild
240 +++ /dev/null
241 @@ -1,59 +0,0 @@
242 -# Copyright 1999-2021 Gentoo Authors
243 -# Distributed under the terms of the GNU General Public License v2
244 -
245 -EAPI=8
246 -
247 -PYTHON_COMPAT=( python3_{8..10} )
248 -inherit distutils-r1
249 -
250 -DESCRIPTION="Low-level, data-driven core of boto 3"
251 -HOMEPAGE="https://github.com/boto/botocore"
252 -LICENSE="Apache-2.0"
253 -SLOT="0"
254 -
255 -if [[ "${PV}" == "9999" ]]; then
256 - EGIT_REPO_URI="https://github.com/boto/botocore"
257 - inherit git-r3
258 -else
259 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
260 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
261 -fi
262 -
263 -RDEPEND="
264 - dev-python/six[${PYTHON_USEDEP}]
265 - dev-python/jmespath[${PYTHON_USEDEP}]
266 - dev-python/python-dateutil[${PYTHON_USEDEP}]
267 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
268 -"
269 -BDEPEND="
270 - test? (
271 - dev-python/mock[${PYTHON_USEDEP}]
272 - dev-python/jsonschema[${PYTHON_USEDEP}]
273 - )
274 -"
275 -
276 -PATCHES=(
277 - "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
278 -)
279 -
280 -distutils_enable_sphinx docs/source \
281 - 'dev-python/guzzle_sphinx_theme'
282 -distutils_enable_tests nose
283 -
284 -src_prepare() {
285 - # unpin deps
286 - sed -i -e "s:>=.*':':" setup.py || die
287 - # very unstable
288 - sed -i -e 's:test_stress_test_token_bucket:_&:' \
289 - tests/functional/retries/test_bucket.py || die
290 - distutils-r1_src_prepare
291 -}
292 -
293 -python_test() {
294 - # note: suites need to be run separately as one of the unit tests
295 - # seems to be leaking mocks and breaking a few functional tests
296 - nosetests -v tests/unit ||
297 - die "unit tests failed under ${EPYTHON}"
298 - nosetests -v tests/functional ||
299 - die "functional tests failed under ${EPYTHON}"
300 -}
301
302 diff --git a/dev-python/botocore/botocore-1.20.109.ebuild b/dev-python/botocore/botocore-1.20.109.ebuild
303 deleted file mode 100644
304 index 30e0988848a..00000000000
305 --- a/dev-python/botocore/botocore-1.20.109.ebuild
306 +++ /dev/null
307 @@ -1,59 +0,0 @@
308 -# Copyright 1999-2021 Gentoo Authors
309 -# Distributed under the terms of the GNU General Public License v2
310 -
311 -EAPI=8
312 -
313 -PYTHON_COMPAT=( python3_{8..10} )
314 -inherit distutils-r1
315 -
316 -DESCRIPTION="Low-level, data-driven core of boto 3"
317 -HOMEPAGE="https://github.com/boto/botocore"
318 -LICENSE="Apache-2.0"
319 -SLOT="0"
320 -
321 -if [[ "${PV}" == "9999" ]]; then
322 - EGIT_REPO_URI="https://github.com/boto/botocore"
323 - inherit git-r3
324 -else
325 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
326 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
327 -fi
328 -
329 -RDEPEND="
330 - dev-python/six[${PYTHON_USEDEP}]
331 - dev-python/jmespath[${PYTHON_USEDEP}]
332 - dev-python/python-dateutil[${PYTHON_USEDEP}]
333 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
334 -"
335 -BDEPEND="
336 - test? (
337 - dev-python/mock[${PYTHON_USEDEP}]
338 - dev-python/jsonschema[${PYTHON_USEDEP}]
339 - )
340 -"
341 -
342 -PATCHES=(
343 - "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
344 -)
345 -
346 -distutils_enable_sphinx docs/source \
347 - 'dev-python/guzzle_sphinx_theme'
348 -distutils_enable_tests nose
349 -
350 -src_prepare() {
351 - # unpin deps
352 - sed -i -e "s:>=.*':':" setup.py || die
353 - # very unstable
354 - sed -i -e 's:test_stress_test_token_bucket:_&:' \
355 - tests/functional/retries/test_bucket.py || die
356 - distutils-r1_src_prepare
357 -}
358 -
359 -python_test() {
360 - # note: suites need to be run separately as one of the unit tests
361 - # seems to be leaking mocks and breaking a few functional tests
362 - nosetests -v tests/unit ||
363 - die "unit tests failed under ${EPYTHON}"
364 - nosetests -v tests/functional ||
365 - die "functional tests failed under ${EPYTHON}"
366 -}
367
368 diff --git a/dev-python/botocore/botocore-1.20.110.ebuild b/dev-python/botocore/botocore-1.20.110.ebuild
369 deleted file mode 100644
370 index 30e0988848a..00000000000
371 --- a/dev-python/botocore/botocore-1.20.110.ebuild
372 +++ /dev/null
373 @@ -1,59 +0,0 @@
374 -# Copyright 1999-2021 Gentoo Authors
375 -# Distributed under the terms of the GNU General Public License v2
376 -
377 -EAPI=8
378 -
379 -PYTHON_COMPAT=( python3_{8..10} )
380 -inherit distutils-r1
381 -
382 -DESCRIPTION="Low-level, data-driven core of boto 3"
383 -HOMEPAGE="https://github.com/boto/botocore"
384 -LICENSE="Apache-2.0"
385 -SLOT="0"
386 -
387 -if [[ "${PV}" == "9999" ]]; then
388 - EGIT_REPO_URI="https://github.com/boto/botocore"
389 - inherit git-r3
390 -else
391 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
392 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
393 -fi
394 -
395 -RDEPEND="
396 - dev-python/six[${PYTHON_USEDEP}]
397 - dev-python/jmespath[${PYTHON_USEDEP}]
398 - dev-python/python-dateutil[${PYTHON_USEDEP}]
399 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
400 -"
401 -BDEPEND="
402 - test? (
403 - dev-python/mock[${PYTHON_USEDEP}]
404 - dev-python/jsonschema[${PYTHON_USEDEP}]
405 - )
406 -"
407 -
408 -PATCHES=(
409 - "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
410 -)
411 -
412 -distutils_enable_sphinx docs/source \
413 - 'dev-python/guzzle_sphinx_theme'
414 -distutils_enable_tests nose
415 -
416 -src_prepare() {
417 - # unpin deps
418 - sed -i -e "s:>=.*':':" setup.py || die
419 - # very unstable
420 - sed -i -e 's:test_stress_test_token_bucket:_&:' \
421 - tests/functional/retries/test_bucket.py || die
422 - distutils-r1_src_prepare
423 -}
424 -
425 -python_test() {
426 - # note: suites need to be run separately as one of the unit tests
427 - # seems to be leaking mocks and breaking a few functional tests
428 - nosetests -v tests/unit ||
429 - die "unit tests failed under ${EPYTHON}"
430 - nosetests -v tests/functional ||
431 - die "functional tests failed under ${EPYTHON}"
432 -}
433
434 diff --git a/dev-python/botocore/botocore-1.20.111.ebuild b/dev-python/botocore/botocore-1.20.111.ebuild
435 deleted file mode 100644
436 index 30e0988848a..00000000000
437 --- a/dev-python/botocore/botocore-1.20.111.ebuild
438 +++ /dev/null
439 @@ -1,59 +0,0 @@
440 -# Copyright 1999-2021 Gentoo Authors
441 -# Distributed under the terms of the GNU General Public License v2
442 -
443 -EAPI=8
444 -
445 -PYTHON_COMPAT=( python3_{8..10} )
446 -inherit distutils-r1
447 -
448 -DESCRIPTION="Low-level, data-driven core of boto 3"
449 -HOMEPAGE="https://github.com/boto/botocore"
450 -LICENSE="Apache-2.0"
451 -SLOT="0"
452 -
453 -if [[ "${PV}" == "9999" ]]; then
454 - EGIT_REPO_URI="https://github.com/boto/botocore"
455 - inherit git-r3
456 -else
457 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
458 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
459 -fi
460 -
461 -RDEPEND="
462 - dev-python/six[${PYTHON_USEDEP}]
463 - dev-python/jmespath[${PYTHON_USEDEP}]
464 - dev-python/python-dateutil[${PYTHON_USEDEP}]
465 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
466 -"
467 -BDEPEND="
468 - test? (
469 - dev-python/mock[${PYTHON_USEDEP}]
470 - dev-python/jsonschema[${PYTHON_USEDEP}]
471 - )
472 -"
473 -
474 -PATCHES=(
475 - "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
476 -)
477 -
478 -distutils_enable_sphinx docs/source \
479 - 'dev-python/guzzle_sphinx_theme'
480 -distutils_enable_tests nose
481 -
482 -src_prepare() {
483 - # unpin deps
484 - sed -i -e "s:>=.*':':" setup.py || die
485 - # very unstable
486 - sed -i -e 's:test_stress_test_token_bucket:_&:' \
487 - tests/functional/retries/test_bucket.py || die
488 - distutils-r1_src_prepare
489 -}
490 -
491 -python_test() {
492 - # note: suites need to be run separately as one of the unit tests
493 - # seems to be leaking mocks and breaking a few functional tests
494 - nosetests -v tests/unit ||
495 - die "unit tests failed under ${EPYTHON}"
496 - nosetests -v tests/functional ||
497 - die "functional tests failed under ${EPYTHON}"
498 -}