1 |
commit: bb58d390499f9eea68835a16dec43d0de242513a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 04:11:17 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 04:56:57 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb58d390 |
7 |
|
8 |
dev-python/botocore: Bump to 1.29.61 |
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.29.61.ebuild | 74 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 75 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 8e2b392b5b42..d7934bc463a9 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST botocore-1.29.57.gh.tar.gz 11132049 BLAKE2B 748a8b709cb6bff1a1bb38757ad68c3 |
21 |
DIST botocore-1.29.58.gh.tar.gz 11135559 BLAKE2B 937b00f1a3c4e3ec818846549bc0cef391c86d3fee9bdd53285111e51c2c52145e7e904020511ed32f2247dd4f150f036f40feeac1a6f899781aff057f9a6d85 SHA512 5cfe5fb174cc14018cd2b7b7af15110665d7ca22f5ae827ba939ce12e71a45e9b5cab8d7ec656fa94c450d46c430a5541cd5bfe92d82da868424db4f8fa4fb2e |
22 |
DIST botocore-1.29.59.gh.tar.gz 11131182 BLAKE2B fa85e1f8dc3c366f7a7fb3e9b06dd298b1ad62be882891df3414289aa9e88bff72753690a1438e6040aefb7cafa1718a70c940e8cd2b4e743df44013b5748ef6 SHA512 9a4811b44c67652cacc899d1d84d4db1305cb60e73dd47d7f543b85ec37f921cab00a51d67b48ab6a215be8f7543e30c54585e0fb337085e1b75774b053c4bf3 |
23 |
DIST botocore-1.29.60.gh.tar.gz 11129718 BLAKE2B 690d80fa12e9df141402019dc45ef2b0807669132ede8af6b57a45a172da78fda3de017a6392920885125763f221a1dbc6a406cb5cf85e66fb50916cc58ba15f SHA512 b8fb6567db599e09bc000ed0b178ff2799c45edeaf21b122a2028b83a50ef7aa27f874b8dec034f6dc61738c4fd3a218db92b26e104cfa2b3ed6f818d034108e |
24 |
+DIST botocore-1.29.61.gh.tar.gz 11137565 BLAKE2B 29cce274a1ded4bad0a841664e8b81d1d347ab0b2088c18f8c549463d6480edc795f6ec88571e5d0f0e453dcb5dff554027094072398022f38646ff81d73fd31 SHA512 3349fcf2859fe6d7f9e4cd901e80c8c2b856afb9b03e7967ab73a6888e6990767624cc462a338a17832687d279007c858047f69ceafbaf825a0b5fb468574c83 |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.29.61.ebuild b/dev-python/botocore/botocore-1.29.61.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..0f4daaa48e81 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.29.61.ebuild |
31 |
@@ -0,0 +1,74 @@ |
32 |
+# Copyright 1999-2023 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_{10..11} ) |
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=" |
55 |
+ https://github.com/boto/botocore/archive/${PV}.tar.gz |
56 |
+ -> ${P}.gh.tar.gz |
57 |
+ " |
58 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
59 |
+fi |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ dev-python/six[${PYTHON_USEDEP}] |
63 |
+ <dev-python/jmespath-2[${PYTHON_USEDEP}] |
64 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] |
66 |
+" |
67 |
+BDEPEND=" |
68 |
+ test? ( |
69 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
70 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
71 |
+ ) |
72 |
+" |
73 |
+ |
74 |
+distutils_enable_sphinx docs/source \ |
75 |
+ 'dev-python/guzzle_sphinx_theme' |
76 |
+distutils_enable_tests pytest |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ # unpin deps |
80 |
+ sed -i -e "s:>=.*':':" setup.py || die |
81 |
+ |
82 |
+ # unbundle deps |
83 |
+ rm -r botocore/vendored || die |
84 |
+ find -name '*.py' -exec sed -i \ |
85 |
+ -e 's:from botocore[.]vendored import:import:' \ |
86 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
87 |
+ {} + || die |
88 |
+ |
89 |
+ distutils-r1_src_prepare |
90 |
+} |
91 |
+ |
92 |
+python_test() { |
93 |
+ local EPYTEST_DESELECT=( |
94 |
+ # rely on bundled six |
95 |
+ tests/functional/test_six_imports.py::test_no_bare_six_imports |
96 |
+ tests/functional/test_six_threading.py::test_six_thread_safety |
97 |
+ # fails on unrelated warnings |
98 |
+ tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME |
99 |
+ tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME |
100 |
+ # TODO |
101 |
+ tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider |
102 |
+ ) |
103 |
+ |
104 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
105 |
+} |