1 |
commit: a5f3fd232a094eb22cb75649535795f26117e518 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 14 06:45:13 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 14 08:07:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5f3fd23 |
7 |
|
8 |
dev-python/botocore: Bump to 1.23.35 |
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.23.35.ebuild | 65 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 66 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 79410dc555bc..d08b742613c6 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -8,4 +8,5 @@ DIST botocore-1.23.31.tar.gz 8706949 BLAKE2B 2e31bc09173a93806fe045e5217defcf17b |
21 |
DIST botocore-1.23.32.tar.gz 8710235 BLAKE2B 278189ae1ee9887e62092344543b6431425640c90c243161cc34448f5b4ed9cce624042bd21d445150f09e695608361633554d535aaaf1850b5987111a43657d SHA512 f33c9818d3985a0334d5c2cf2f9ec9aa34834a73dfc73f8e9298e59432141f6792acecf0380cb8d607cdd12156f182ee130952390d8f0e808cca12659317b2e3 |
22 |
DIST botocore-1.23.33.tar.gz 8712535 BLAKE2B 97064bfe24db14e49ff37b515549a2294ed2fbba82f36cf4d5281db27add007c8524058cb208bcf168add9e739bb2d51e7980295938ac6ff6ff603ffd0cfccee SHA512 7373a9cac5efb12898ac1665b74a5eb3693d5e5defd55bc2972bc70cbfcdf69672a8cb4b8d0a6b2bfbc59e789fedea09014ac47ba9ef6af8cc038471330850f0 |
23 |
DIST botocore-1.23.34.tar.gz 8718420 BLAKE2B 67325949a37c3a3ff61e66279626c30b8f225d74137512d9a45414e1af11a18dd5fba5f0f4e64dd71c3d0bbbabf210d6e8a63901bc6deba8f16e3cfc163ebb81 SHA512 8afdf0a186f4850e8905ef1cd6660ab8ea58546cc119a47085976adc51195c0b9d524c077a3dcef6687cc5977988532932a424023dfea83eb7efd1e19b19eb95 |
24 |
+DIST botocore-1.23.35.tar.gz 8719275 BLAKE2B 2bda51eef1ac3d420952751d610722fbb57e004e8503e17dddd0a31e7ab360ba719c97f97d4b9e5aa6440965bafea9966b11d246e85fe753633c88141881cbfa SHA512 84a8692d840d9c8930ad8f80756f4d6ce6350e6a655966ff33ffd7f2bf5f5997989d6cc9067b52dd5631f49c35b5120eaa3d533274f322581281810ab47b988a |
25 |
DIST botocore-1.23.5.tar.gz 8374467 BLAKE2B 467092e7d8aa5ccb756132669049865445a47205913964c1c944b20caaf100b1efdd1bf3af9c5416ff079b487e6d4d08ffe6208e2b352d09655cc5be21c88739 SHA512 6afca19b724f9019f21e5993ce970d605b95d31c1a4e969ec1b4080510a5a120b3fa0cfd5ade973a9203bd6b7983a3dbca2f7a03108a9167392efd60d5e2fe9b |
26 |
|
27 |
diff --git a/dev-python/botocore/botocore-1.23.35.ebuild b/dev-python/botocore/botocore-1.23.35.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..5a7d2c6fb0f2 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/botocore/botocore-1.23.35.ebuild |
32 |
@@ -0,0 +1,65 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Low-level, data-driven core of boto 3" |
42 |
+HOMEPAGE="https://github.com/boto/botocore" |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+if [[ "${PV}" == "9999" ]]; then |
47 |
+ EGIT_REPO_URI="https://github.com/boto/botocore" |
48 |
+ inherit git-r3 |
49 |
+else |
50 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
51 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
52 |
+fi |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/six[${PYTHON_USEDEP}] |
56 |
+ dev-python/jmespath[${PYTHON_USEDEP}] |
57 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" |
68 |
+) |
69 |
+ |
70 |
+distutils_enable_sphinx docs/source \ |
71 |
+ 'dev-python/guzzle_sphinx_theme' |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ # unpin deps |
76 |
+ sed -i -e "s:>=.*':':" setup.py || die |
77 |
+ |
78 |
+ # unbundle deps |
79 |
+ rm -r botocore/vendored || die |
80 |
+ find -name '*.py' -exec sed -i \ |
81 |
+ -e 's:from botocore[.]vendored import:import:' \ |
82 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
83 |
+ {} + || die |
84 |
+ |
85 |
+ distutils-r1_src_prepare |
86 |
+} |
87 |
+ |
88 |
+python_test() { |
89 |
+ local EPYTEST_DESELECT=( |
90 |
+ # rely on bundled six |
91 |
+ tests/functional/test_six_imports.py::test_no_bare_six_imports |
92 |
+ tests/functional/test_six_threading.py::test_six_thread_safety |
93 |
+ ) |
94 |
+ |
95 |
+ distutils_install_for_testing --via-venv |
96 |
+ epytest tests/{functional,unit} |
97 |
+} |