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: Tue, 29 Nov 2022 07:17:13
Message-Id: 1669706201.f0db28162766c9ac882d8fec1dc9566d8eba598f.mgorny@gentoo
1 commit: f0db28162766c9ac882d8fec1dc9566d8eba598f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 07:16:41 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 07:16:41 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0db2816
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 | 6 ---
13 dev-python/botocore/botocore-1.28.5.ebuild | 72 ----------------------------
14 dev-python/botocore/botocore-1.29.12.ebuild | 74 -----------------------------
15 dev-python/botocore/botocore-1.29.13.ebuild | 74 -----------------------------
16 dev-python/botocore/botocore-1.29.14.ebuild | 74 -----------------------------
17 dev-python/botocore/botocore-1.29.15.ebuild | 74 -----------------------------
18 dev-python/botocore/botocore-1.29.17.ebuild | 74 -----------------------------
19 7 files changed, 448 deletions(-)
20
21 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
22 index e9713b1d07cb..d8c3f3ba26b2 100644
23 --- a/dev-python/botocore/Manifest
24 +++ b/dev-python/botocore/Manifest
25 @@ -1,10 +1,4 @@
26 -DIST botocore-1.28.5.gh.tar.gz 9842427 BLAKE2B ed185346c21eeb0d05b39b55e99e065d9a5448fbe8206de49b3c128d12f4aabe1f6258153710350783846d10e5e10a22ccf77f6d27345297ec64e7ce74e51b87 SHA512 8b41b79826a71ed31c27534129e959e0896d9f4cb1769b4f14f1760d173500563a579aa0e00aaff5058275d5b5e8b921fed34b12825cf16ba4e216b174e4bba5
27 DIST botocore-1.29.11.gh.tar.gz 10660645 BLAKE2B 0d5f8a7e34f99947e1488b468699e682acf0077fcc9f3bfb87e00f4966571970e335964edeabb20b41e4f900aee8c5075a004e8e3b09ce7d04a38f4c729d3361 SHA512 f1e2d948b7123316084228b574c8d0a0cc7dac1e615edfc525f9f42e081bf87d107ec948b5f209a6013b37c0f9617d1e585ef602a1f76c106dbd2369ae6e4514
28 -DIST botocore-1.29.12.gh.tar.gz 10675051 BLAKE2B 8ccf2f7fe711556d05771712b365a5317aa386411b3a98eaf3240fe14b7f14f04974e2847dc3c49178f4c22a8add957f3286b75f96f10dc68f99e2260a2ade77 SHA512 8728ac25d6dba86d99998a336b17446f1b5000dab9e0f01e0bd61afcf9b806cb2fd3ac747119dac9a9b063463555cd977b2edac2a0b363b79d18ae68b1e8bdb1
29 -DIST botocore-1.29.13.gh.tar.gz 10704244 BLAKE2B 593fb236ac87e13fca6688e91ee680404506f308a312b35e1a92205b3e533c24fb9dd39a0eedbd64887128daf388607fdce74b439d0e3e1fa1df970e73b22c79 SHA512 673e7ec32cbfb4aff51ad0399ffbf51cafacd7d29f06769290a00284d54f43891d0a25dfef3d805b6808130cdafeebf07c0f4cec7ac614b22aa8daba1c79cda6
30 -DIST botocore-1.29.14.gh.tar.gz 10705895 BLAKE2B 3f20e92819965abb6ce280e4d4c4d967ddc2fa722de058140785637ee541b4f3d88c158aa9ceacfc0c2308c8bbda37d0b8ee53bc63a8594806c5175b150b2f62 SHA512 b6ddc39c82d9b7f59dd5f953e0eca90e21f1de2bd82ab731708acc3853d826308f7480b83f018f663ccb2846abed84d6bf1443df0d9ab1041589b1ed3b0d4fc3
31 -DIST botocore-1.29.15.gh.tar.gz 10707154 BLAKE2B e282f61ec0909bc6d58190310b798ef44367ec4d404679666855266134df3988ce90e30e4d85c834f4825c1d013462510d30ae3224491991a2671fb0f4b680f4 SHA512 e723bd34543b01286d0e7f3890ec27683c079ff80324fd5c450b9893d40b3126e996712e3605b6ea93f7551b0929fd9eca696ed383819c03dd801cf00f3264bb
32 DIST botocore-1.29.16.gh.tar.gz 10709321 BLAKE2B d9a8590b1685351f1167962fa45f97906554dead7ec72487f390a78cf5e0cbca933e4e2d6d147af9beb43f05299a771cfb5f6d76e58d44397eeb6240e8856167 SHA512 247c9800a24141cf970f02ae3c6436027c86677f1a287f24be4d85292add874465851b8a963dc49dffe103b1088e5120db18dc58d93f04285715f0b4fe08258e
33 -DIST botocore-1.29.17.gh.tar.gz 10752212 BLAKE2B bd1254d9612347cfeedbea9cbe1601fa82fd8ab0b3572cdcadb2fdfd17d19811aff5101633d797763b1b31f3987e42ce7d1a3bb1cc109e4f844f0c499721fc0d SHA512 cf90845049025d28b6dc3a32cd2471330367370ac86c010113595a4d3e2078e3b031f807067f6b0c054f1212baa723231633c0234072a8a0f2fc9ae34777dfdd
34 DIST botocore-1.29.18.gh.tar.gz 10837962 BLAKE2B c1d32b31ba687427f6c88e53dd4908d966b83d3d5d087b64e5370b7294d568a09dfe08e72e89acf8402dbf887369c509d1c7fcf77c5156ef9029319878e7311c SHA512 2e8e7108e343028cf6ff30fd9f6b66b8b49a2b3013656ee3fc912c67052a42eca49d93a57e322248dfce7cfa765c6bf4b78f364a71b843536853bc4f413e1930
35 DIST botocore-1.29.8.gh.tar.gz 10636661 BLAKE2B 3ebd9e5cb6cc1a9d4ddb877e806e0a845e6a19a4604b4489dbdb9a0f35251201de5d7062f3b0193db3e28f5170d8c3315fdc0b2bec7668a61880ff3e9305d3bc SHA512 c4a1a3993576bd0340de4eeb25e10650219e9d74c21f7e51e5298120bc92a8359143c38d5a991b940316fc5eac483e4e838298881a5c068fa91dc3ebf92a7f5a
36
37 diff --git a/dev-python/botocore/botocore-1.28.5.ebuild b/dev-python/botocore/botocore-1.28.5.ebuild
38 deleted file mode 100644
39 index fb557be6c315..000000000000
40 --- a/dev-python/botocore/botocore-1.28.5.ebuild
41 +++ /dev/null
42 @@ -1,72 +0,0 @@
43 -# Copyright 1999-2022 Gentoo Authors
44 -# Distributed under the terms of the GNU General Public License v2
45 -
46 -EAPI=8
47 -
48 -DISTUTILS_USE_PEP517=setuptools
49 -PYTHON_COMPAT=( python3_{8..11} )
50 -
51 -inherit distutils-r1 multiprocessing
52 -
53 -DESCRIPTION="Low-level, data-driven core of boto 3"
54 -HOMEPAGE="
55 - https://github.com/boto/botocore/
56 - https://pypi.org/project/botocore/
57 -"
58 -LICENSE="Apache-2.0"
59 -SLOT="0"
60 -
61 -if [[ "${PV}" == "9999" ]]; then
62 - EGIT_REPO_URI="https://github.com/boto/botocore"
63 - inherit git-r3
64 -else
65 - SRC_URI="
66 - https://github.com/boto/botocore/archive/${PV}.tar.gz
67 - -> ${P}.gh.tar.gz
68 - "
69 - KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
70 -fi
71 -
72 -RDEPEND="
73 - dev-python/six[${PYTHON_USEDEP}]
74 - <dev-python/jmespath-2[${PYTHON_USEDEP}]
75 - dev-python/python-dateutil[${PYTHON_USEDEP}]
76 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
77 -"
78 -BDEPEND="
79 - test? (
80 - dev-python/jsonschema[${PYTHON_USEDEP}]
81 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
82 - )
83 -"
84 -
85 -distutils_enable_sphinx docs/source \
86 - 'dev-python/guzzle_sphinx_theme'
87 -distutils_enable_tests pytest
88 -
89 -src_prepare() {
90 - # unpin deps
91 - sed -i -e "s:>=.*':':" setup.py || die
92 -
93 - # unbundle deps
94 - rm -r botocore/vendored || die
95 - find -name '*.py' -exec sed -i \
96 - -e 's:from botocore[.]vendored import:import:' \
97 - -e 's:from botocore[.]vendored[.]:from :' \
98 - {} + || die
99 -
100 - distutils-r1_src_prepare
101 -}
102 -
103 -python_test() {
104 - local EPYTEST_DESELECT=(
105 - # rely on bundled six
106 - tests/functional/test_six_imports.py::test_no_bare_six_imports
107 - tests/functional/test_six_threading.py::test_six_thread_safety
108 - # fails on unrelated warnings
109 - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
110 - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
111 - )
112 -
113 - epytest tests/{functional,unit} -n "$(makeopts_jobs)"
114 -}
115
116 diff --git a/dev-python/botocore/botocore-1.29.12.ebuild b/dev-python/botocore/botocore-1.29.12.ebuild
117 deleted file mode 100644
118 index eed342eb3cfa..000000000000
119 --- a/dev-python/botocore/botocore-1.29.12.ebuild
120 +++ /dev/null
121 @@ -1,74 +0,0 @@
122 -# Copyright 1999-2022 Gentoo Authors
123 -# Distributed under the terms of the GNU General Public License v2
124 -
125 -EAPI=8
126 -
127 -DISTUTILS_USE_PEP517=setuptools
128 -PYTHON_COMPAT=( python3_{8..11} )
129 -
130 -inherit distutils-r1 multiprocessing
131 -
132 -DESCRIPTION="Low-level, data-driven core of boto 3"
133 -HOMEPAGE="
134 - https://github.com/boto/botocore/
135 - https://pypi.org/project/botocore/
136 -"
137 -LICENSE="Apache-2.0"
138 -SLOT="0"
139 -
140 -if [[ "${PV}" == "9999" ]]; then
141 - EGIT_REPO_URI="https://github.com/boto/botocore"
142 - inherit git-r3
143 -else
144 - SRC_URI="
145 - https://github.com/boto/botocore/archive/${PV}.tar.gz
146 - -> ${P}.gh.tar.gz
147 - "
148 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
149 -fi
150 -
151 -RDEPEND="
152 - dev-python/six[${PYTHON_USEDEP}]
153 - <dev-python/jmespath-2[${PYTHON_USEDEP}]
154 - dev-python/python-dateutil[${PYTHON_USEDEP}]
155 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
156 -"
157 -BDEPEND="
158 - test? (
159 - dev-python/jsonschema[${PYTHON_USEDEP}]
160 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
161 - )
162 -"
163 -
164 -distutils_enable_sphinx docs/source \
165 - 'dev-python/guzzle_sphinx_theme'
166 -distutils_enable_tests pytest
167 -
168 -src_prepare() {
169 - # unpin deps
170 - sed -i -e "s:>=.*':':" setup.py || die
171 -
172 - # unbundle deps
173 - rm -r botocore/vendored || die
174 - find -name '*.py' -exec sed -i \
175 - -e 's:from botocore[.]vendored import:import:' \
176 - -e 's:from botocore[.]vendored[.]:from :' \
177 - {} + || die
178 -
179 - distutils-r1_src_prepare
180 -}
181 -
182 -python_test() {
183 - local EPYTEST_DESELECT=(
184 - # rely on bundled six
185 - tests/functional/test_six_imports.py::test_no_bare_six_imports
186 - tests/functional/test_six_threading.py::test_six_thread_safety
187 - # fails on unrelated warnings
188 - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
189 - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
190 - # TODO
191 - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
192 - )
193 -
194 - epytest tests/{functional,unit} -n "$(makeopts_jobs)"
195 -}
196
197 diff --git a/dev-python/botocore/botocore-1.29.13.ebuild b/dev-python/botocore/botocore-1.29.13.ebuild
198 deleted file mode 100644
199 index eed342eb3cfa..000000000000
200 --- a/dev-python/botocore/botocore-1.29.13.ebuild
201 +++ /dev/null
202 @@ -1,74 +0,0 @@
203 -# Copyright 1999-2022 Gentoo Authors
204 -# Distributed under the terms of the GNU General Public License v2
205 -
206 -EAPI=8
207 -
208 -DISTUTILS_USE_PEP517=setuptools
209 -PYTHON_COMPAT=( python3_{8..11} )
210 -
211 -inherit distutils-r1 multiprocessing
212 -
213 -DESCRIPTION="Low-level, data-driven core of boto 3"
214 -HOMEPAGE="
215 - https://github.com/boto/botocore/
216 - https://pypi.org/project/botocore/
217 -"
218 -LICENSE="Apache-2.0"
219 -SLOT="0"
220 -
221 -if [[ "${PV}" == "9999" ]]; then
222 - EGIT_REPO_URI="https://github.com/boto/botocore"
223 - inherit git-r3
224 -else
225 - SRC_URI="
226 - https://github.com/boto/botocore/archive/${PV}.tar.gz
227 - -> ${P}.gh.tar.gz
228 - "
229 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
230 -fi
231 -
232 -RDEPEND="
233 - dev-python/six[${PYTHON_USEDEP}]
234 - <dev-python/jmespath-2[${PYTHON_USEDEP}]
235 - dev-python/python-dateutil[${PYTHON_USEDEP}]
236 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
237 -"
238 -BDEPEND="
239 - test? (
240 - dev-python/jsonschema[${PYTHON_USEDEP}]
241 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
242 - )
243 -"
244 -
245 -distutils_enable_sphinx docs/source \
246 - 'dev-python/guzzle_sphinx_theme'
247 -distutils_enable_tests pytest
248 -
249 -src_prepare() {
250 - # unpin deps
251 - sed -i -e "s:>=.*':':" setup.py || die
252 -
253 - # unbundle deps
254 - rm -r botocore/vendored || die
255 - find -name '*.py' -exec sed -i \
256 - -e 's:from botocore[.]vendored import:import:' \
257 - -e 's:from botocore[.]vendored[.]:from :' \
258 - {} + || die
259 -
260 - distutils-r1_src_prepare
261 -}
262 -
263 -python_test() {
264 - local EPYTEST_DESELECT=(
265 - # rely on bundled six
266 - tests/functional/test_six_imports.py::test_no_bare_six_imports
267 - tests/functional/test_six_threading.py::test_six_thread_safety
268 - # fails on unrelated warnings
269 - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
270 - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
271 - # TODO
272 - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
273 - )
274 -
275 - epytest tests/{functional,unit} -n "$(makeopts_jobs)"
276 -}
277
278 diff --git a/dev-python/botocore/botocore-1.29.14.ebuild b/dev-python/botocore/botocore-1.29.14.ebuild
279 deleted file mode 100644
280 index eed342eb3cfa..000000000000
281 --- a/dev-python/botocore/botocore-1.29.14.ebuild
282 +++ /dev/null
283 @@ -1,74 +0,0 @@
284 -# Copyright 1999-2022 Gentoo Authors
285 -# Distributed under the terms of the GNU General Public License v2
286 -
287 -EAPI=8
288 -
289 -DISTUTILS_USE_PEP517=setuptools
290 -PYTHON_COMPAT=( python3_{8..11} )
291 -
292 -inherit distutils-r1 multiprocessing
293 -
294 -DESCRIPTION="Low-level, data-driven core of boto 3"
295 -HOMEPAGE="
296 - https://github.com/boto/botocore/
297 - https://pypi.org/project/botocore/
298 -"
299 -LICENSE="Apache-2.0"
300 -SLOT="0"
301 -
302 -if [[ "${PV}" == "9999" ]]; then
303 - EGIT_REPO_URI="https://github.com/boto/botocore"
304 - inherit git-r3
305 -else
306 - SRC_URI="
307 - https://github.com/boto/botocore/archive/${PV}.tar.gz
308 - -> ${P}.gh.tar.gz
309 - "
310 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
311 -fi
312 -
313 -RDEPEND="
314 - dev-python/six[${PYTHON_USEDEP}]
315 - <dev-python/jmespath-2[${PYTHON_USEDEP}]
316 - dev-python/python-dateutil[${PYTHON_USEDEP}]
317 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
318 -"
319 -BDEPEND="
320 - test? (
321 - dev-python/jsonschema[${PYTHON_USEDEP}]
322 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
323 - )
324 -"
325 -
326 -distutils_enable_sphinx docs/source \
327 - 'dev-python/guzzle_sphinx_theme'
328 -distutils_enable_tests pytest
329 -
330 -src_prepare() {
331 - # unpin deps
332 - sed -i -e "s:>=.*':':" setup.py || die
333 -
334 - # unbundle deps
335 - rm -r botocore/vendored || die
336 - find -name '*.py' -exec sed -i \
337 - -e 's:from botocore[.]vendored import:import:' \
338 - -e 's:from botocore[.]vendored[.]:from :' \
339 - {} + || die
340 -
341 - distutils-r1_src_prepare
342 -}
343 -
344 -python_test() {
345 - local EPYTEST_DESELECT=(
346 - # rely on bundled six
347 - tests/functional/test_six_imports.py::test_no_bare_six_imports
348 - tests/functional/test_six_threading.py::test_six_thread_safety
349 - # fails on unrelated warnings
350 - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
351 - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
352 - # TODO
353 - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
354 - )
355 -
356 - epytest tests/{functional,unit} -n "$(makeopts_jobs)"
357 -}
358
359 diff --git a/dev-python/botocore/botocore-1.29.15.ebuild b/dev-python/botocore/botocore-1.29.15.ebuild
360 deleted file mode 100644
361 index eed342eb3cfa..000000000000
362 --- a/dev-python/botocore/botocore-1.29.15.ebuild
363 +++ /dev/null
364 @@ -1,74 +0,0 @@
365 -# Copyright 1999-2022 Gentoo Authors
366 -# Distributed under the terms of the GNU General Public License v2
367 -
368 -EAPI=8
369 -
370 -DISTUTILS_USE_PEP517=setuptools
371 -PYTHON_COMPAT=( python3_{8..11} )
372 -
373 -inherit distutils-r1 multiprocessing
374 -
375 -DESCRIPTION="Low-level, data-driven core of boto 3"
376 -HOMEPAGE="
377 - https://github.com/boto/botocore/
378 - https://pypi.org/project/botocore/
379 -"
380 -LICENSE="Apache-2.0"
381 -SLOT="0"
382 -
383 -if [[ "${PV}" == "9999" ]]; then
384 - EGIT_REPO_URI="https://github.com/boto/botocore"
385 - inherit git-r3
386 -else
387 - SRC_URI="
388 - https://github.com/boto/botocore/archive/${PV}.tar.gz
389 - -> ${P}.gh.tar.gz
390 - "
391 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
392 -fi
393 -
394 -RDEPEND="
395 - dev-python/six[${PYTHON_USEDEP}]
396 - <dev-python/jmespath-2[${PYTHON_USEDEP}]
397 - dev-python/python-dateutil[${PYTHON_USEDEP}]
398 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
399 -"
400 -BDEPEND="
401 - test? (
402 - dev-python/jsonschema[${PYTHON_USEDEP}]
403 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
404 - )
405 -"
406 -
407 -distutils_enable_sphinx docs/source \
408 - 'dev-python/guzzle_sphinx_theme'
409 -distutils_enable_tests pytest
410 -
411 -src_prepare() {
412 - # unpin deps
413 - sed -i -e "s:>=.*':':" setup.py || die
414 -
415 - # unbundle deps
416 - rm -r botocore/vendored || die
417 - find -name '*.py' -exec sed -i \
418 - -e 's:from botocore[.]vendored import:import:' \
419 - -e 's:from botocore[.]vendored[.]:from :' \
420 - {} + || die
421 -
422 - distutils-r1_src_prepare
423 -}
424 -
425 -python_test() {
426 - local EPYTEST_DESELECT=(
427 - # rely on bundled six
428 - tests/functional/test_six_imports.py::test_no_bare_six_imports
429 - tests/functional/test_six_threading.py::test_six_thread_safety
430 - # fails on unrelated warnings
431 - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
432 - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
433 - # TODO
434 - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
435 - )
436 -
437 - epytest tests/{functional,unit} -n "$(makeopts_jobs)"
438 -}
439
440 diff --git a/dev-python/botocore/botocore-1.29.17.ebuild b/dev-python/botocore/botocore-1.29.17.ebuild
441 deleted file mode 100644
442 index eed342eb3cfa..000000000000
443 --- a/dev-python/botocore/botocore-1.29.17.ebuild
444 +++ /dev/null
445 @@ -1,74 +0,0 @@
446 -# Copyright 1999-2022 Gentoo Authors
447 -# Distributed under the terms of the GNU General Public License v2
448 -
449 -EAPI=8
450 -
451 -DISTUTILS_USE_PEP517=setuptools
452 -PYTHON_COMPAT=( python3_{8..11} )
453 -
454 -inherit distutils-r1 multiprocessing
455 -
456 -DESCRIPTION="Low-level, data-driven core of boto 3"
457 -HOMEPAGE="
458 - https://github.com/boto/botocore/
459 - https://pypi.org/project/botocore/
460 -"
461 -LICENSE="Apache-2.0"
462 -SLOT="0"
463 -
464 -if [[ "${PV}" == "9999" ]]; then
465 - EGIT_REPO_URI="https://github.com/boto/botocore"
466 - inherit git-r3
467 -else
468 - SRC_URI="
469 - https://github.com/boto/botocore/archive/${PV}.tar.gz
470 - -> ${P}.gh.tar.gz
471 - "
472 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
473 -fi
474 -
475 -RDEPEND="
476 - dev-python/six[${PYTHON_USEDEP}]
477 - <dev-python/jmespath-2[${PYTHON_USEDEP}]
478 - dev-python/python-dateutil[${PYTHON_USEDEP}]
479 - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
480 -"
481 -BDEPEND="
482 - test? (
483 - dev-python/jsonschema[${PYTHON_USEDEP}]
484 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
485 - )
486 -"
487 -
488 -distutils_enable_sphinx docs/source \
489 - 'dev-python/guzzle_sphinx_theme'
490 -distutils_enable_tests pytest
491 -
492 -src_prepare() {
493 - # unpin deps
494 - sed -i -e "s:>=.*':':" setup.py || die
495 -
496 - # unbundle deps
497 - rm -r botocore/vendored || die
498 - find -name '*.py' -exec sed -i \
499 - -e 's:from botocore[.]vendored import:import:' \
500 - -e 's:from botocore[.]vendored[.]:from :' \
501 - {} + || die
502 -
503 - distutils-r1_src_prepare
504 -}
505 -
506 -python_test() {
507 - local EPYTEST_DESELECT=(
508 - # rely on bundled six
509 - tests/functional/test_six_imports.py::test_no_bare_six_imports
510 - tests/functional/test_six_threading.py::test_six_thread_safety
511 - # fails on unrelated warnings
512 - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
513 - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
514 - # TODO
515 - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
516 - )
517 -
518 - epytest tests/{functional,unit} -n "$(makeopts_jobs)"
519 -}