1 |
commit: 801ae87705f525e94227363737157b2b476515ab |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 3 04:23:59 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 3 05:32:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801ae877 |
7 |
|
8 |
dev-python/botocore: Bump to 1.29.1 |
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.1.ebuild | 72 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 73 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 4cdbb2763990..6adbf5edec92 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -7,3 +7,4 @@ DIST botocore-1.28.3.gh.tar.gz 9829079 BLAKE2B 77010a262689d99530f6cfa89d3389828 |
21 |
DIST botocore-1.28.4.gh.tar.gz 9830940 BLAKE2B a4f7148ff4ef77dab59b088e241f19cf072dbf0231aac36fdf2220660e3460b08d4f50bc8be6e9eacf169997124b58b27a0f8ab52c042741dc5c1cb43837b00e SHA512 7ce121333cd25f1eb2a99dca0edae21988ab6cd9a1e073e453c633dfacb88b45f40f07fe922bf8a52356ec41d819243785091e8c002c192c17bf89a4e626a380 |
22 |
DIST botocore-1.28.5.gh.tar.gz 9842427 BLAKE2B ed185346c21eeb0d05b39b55e99e065d9a5448fbe8206de49b3c128d12f4aabe1f6258153710350783846d10e5e10a22ccf77f6d27345297ec64e7ce74e51b87 SHA512 8b41b79826a71ed31c27534129e959e0896d9f4cb1769b4f14f1760d173500563a579aa0e00aaff5058275d5b5e8b921fed34b12825cf16ba4e216b174e4bba5 |
23 |
DIST botocore-1.29.0.gh.tar.gz 10570614 BLAKE2B 08c48caba9516cb7345204d426942779dc8e2060cd3b95f634fe6293f6314c6a825c3c75371a446c22365f855f888c86ce303f50b53ecb6348f3453c5c9b9cab SHA512 b35322e8636fbf9d1743e234889dd370f8cc4853eb0318ad55e563de7a3f3be47fe0842be1ead8fa7c4eaf455264aa7bc15c0a8313fc2343f82d419b7cad781b |
24 |
+DIST botocore-1.29.1.gh.tar.gz 10572059 BLAKE2B d0adb21a47ae4e4b092a7965630b599e8ad7322e11f808bc18632e7bc79afacf743e5149aecad788fe8d6479a68e99b125fd07bd48e3b3bc5901784b3ca12423 SHA512 ce9b7d2b8a2a590993a3fad259ec3a7b038cad8234cad3e8fdbb5523db278e682a391f40e59811dfda3f312f8e5a158246f8654b7e08bfafe817a7e62ee5ef04 |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.29.1.ebuild b/dev-python/botocore/botocore-1.29.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..d1a6948e70e5 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.29.1.ebuild |
31 |
@@ -0,0 +1,72 @@ |
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..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 |
+ ) |
101 |
+ |
102 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
103 |
+} |