1 |
commit: 0bc1fd4a423cd94b893cb223f731ec697093582f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 7 07:47:17 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 7 09:33:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bc1fd4a |
7 |
|
8 |
dev-python/botocore: Bump to 1.25.9 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/botocore/Manifest | 1 + |
13 |
dev-python/botocore/botocore-1.25.9.ebuild | 70 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 71 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 7e339c4643d3..ecae7f7343a9 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST botocore-1.25.4.tar.gz 8955210 BLAKE2B 50880e9d7f57e4f3b8662625a64e9470eaf8a984fdbcc34239bfe604544ccd3ac62e953d7be4e1b486fab4ad0d571361ffc9fdc43cb860cd37a95c33d7b824b2 SHA512 a04e03271d217ab1ef5488dcfedda2904b8e628dae969c74e284d004ae72f18d9734d3f7cf775235c8384b30f4d0fbfda7c0e5dcd687039ddb7b339330e63317 |
22 |
DIST botocore-1.25.7.tar.gz 8961319 BLAKE2B 1d22e3cd625252f1e6c6b13b9317750b48765150006ca0b632fd15aa6f31079855a1b6c7201cbed0ebfc7147a87389e1a4445d0736829554f8063b68944107cf SHA512 a22a35a1de87aff2efa7b4b5f478e44be7ce2eadf0b7da43af2a0de9ba315a9b75ac59da29a8f10ed15bbf6ff4d76d904407f95a7f8f08049c546450bd6c7c4d |
23 |
DIST botocore-1.25.8.tar.gz 8961194 BLAKE2B 4a13f5b01352ff0cb8932431e9431229a73fe922c2719ee571fa26ed55faa0315e0bdd561dcf2069748d13c809c7c5b7e2a35051d5d8bbd498677658b69ff454 SHA512 bc78c24629308d4d8cb4190646b7f465713a5462c54ff0946fdbcfa8b87951fa337a2f8f97bbd27991a79da03d140b890f2b021f865c7550b791d2fbb95282a1 |
24 |
+DIST botocore-1.25.9.tar.gz 8962451 BLAKE2B 5930499f514d5e9b9f0fa0c87a2461071a0432bb3957779a4669448bd7b34e94a5339598703419f36c01e505c8487217a4f525ce63832bc97ad35ef584ef45f3 SHA512 533c5ff383e53aa2b00a83b182207e9dd2d40ea000c7a0f1e74e30989c6c15f54fd26eb67375ceeb90c1a6ab158bda7de75ac40fe6b14614209ebb7063b9e2a1 |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.25.9.ebuild b/dev-python/botocore/botocore-1.25.9.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..a1a5a4e1ea37 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.25.9.ebuild |
31 |
@@ -0,0 +1,70 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit distutils-r1 multiprocessing |
41 |
+ |
42 |
+DESCRIPTION="Low-level, data-driven core of boto 3" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/boto/botocore/ |
45 |
+ https://pypi.org/project/botocore/ |
46 |
+" |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+ |
50 |
+if [[ "${PV}" == "9999" ]]; then |
51 |
+ EGIT_REPO_URI="https://github.com/boto/botocore" |
52 |
+ inherit git-r3 |
53 |
+else |
54 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
55 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
56 |
+fi |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ dev-python/six[${PYTHON_USEDEP}] |
60 |
+ <dev-python/jmespath-2[${PYTHON_USEDEP}] |
61 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] |
63 |
+" |
64 |
+BDEPEND=" |
65 |
+ test? ( |
66 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
67 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+" |
70 |
+ |
71 |
+PATCHES=( |
72 |
+ "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" |
73 |
+) |
74 |
+ |
75 |
+distutils_enable_sphinx docs/source \ |
76 |
+ 'dev-python/guzzle_sphinx_theme' |
77 |
+distutils_enable_tests pytest |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ # unpin deps |
81 |
+ sed -i -e "s:>=.*':':" setup.py || die |
82 |
+ |
83 |
+ # unbundle deps |
84 |
+ rm -r botocore/vendored || die |
85 |
+ find -name '*.py' -exec sed -i \ |
86 |
+ -e 's:from botocore[.]vendored import:import:' \ |
87 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
88 |
+ {} + || die |
89 |
+ |
90 |
+ distutils-r1_src_prepare |
91 |
+} |
92 |
+ |
93 |
+python_test() { |
94 |
+ local EPYTEST_DESELECT=( |
95 |
+ # rely on bundled six |
96 |
+ tests/functional/test_six_imports.py::test_no_bare_six_imports |
97 |
+ tests/functional/test_six_threading.py::test_six_thread_safety |
98 |
+ ) |
99 |
+ |
100 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
101 |
+} |