1 |
commit: 99b7c0af53dc712a95714cc14cceddc7453bbd72 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 1 05:53:18 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 1 07:09:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b7c0af |
7 |
|
8 |
dev-python/botocore: Bump to 1.29.20 |
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.20.ebuild | 74 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 75 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index d8c3f3ba26b2..e887120c903a 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST botocore-1.29.11.gh.tar.gz 10660645 BLAKE2B 0d5f8a7e34f99947e1488b468699e682acf0077fcc9f3bfb87e00f4966571970e335964edeabb20b41e4f900aee8c5075a004e8e3b09ce7d04a38f4c729d3361 SHA512 f1e2d948b7123316084228b574c8d0a0cc7dac1e615edfc525f9f42e081bf87d107ec948b5f209a6013b37c0f9617d1e585ef602a1f76c106dbd2369ae6e4514 |
22 |
DIST botocore-1.29.16.gh.tar.gz 10709321 BLAKE2B d9a8590b1685351f1167962fa45f97906554dead7ec72487f390a78cf5e0cbca933e4e2d6d147af9beb43f05299a771cfb5f6d76e58d44397eeb6240e8856167 SHA512 247c9800a24141cf970f02ae3c6436027c86677f1a287f24be4d85292add874465851b8a963dc49dffe103b1088e5120db18dc58d93f04285715f0b4fe08258e |
23 |
DIST botocore-1.29.18.gh.tar.gz 10837962 BLAKE2B c1d32b31ba687427f6c88e53dd4908d966b83d3d5d087b64e5370b7294d568a09dfe08e72e89acf8402dbf887369c509d1c7fcf77c5156ef9029319878e7311c SHA512 2e8e7108e343028cf6ff30fd9f6b66b8b49a2b3013656ee3fc912c67052a42eca49d93a57e322248dfce7cfa765c6bf4b78f364a71b843536853bc4f413e1930 |
24 |
+DIST botocore-1.29.20.gh.tar.gz 10956292 BLAKE2B 3453a1051056f8f6bc870c66b66d81b4f68dca97068ebb0beed286f3534798483254a0a3390e9b2ce07d25a01b35e81ceccc9c5f8cfd5bf18147931a9048e242 SHA512 c99e1cb4f0f55715d88ec8fe6602fef60254cacd9e2c1b309bfa1b8dfdc5c979c60f558b08f953afcc0985859091f4fad5c21e1906c177eaa8bc2dcd8216a3aa |
25 |
DIST botocore-1.29.8.gh.tar.gz 10636661 BLAKE2B 3ebd9e5cb6cc1a9d4ddb877e806e0a845e6a19a4604b4489dbdb9a0f35251201de5d7062f3b0193db3e28f5170d8c3315fdc0b2bec7668a61880ff3e9305d3bc SHA512 c4a1a3993576bd0340de4eeb25e10650219e9d74c21f7e51e5298120bc92a8359143c38d5a991b940316fc5eac483e4e838298881a5c068fa91dc3ebf92a7f5a |
26 |
|
27 |
diff --git a/dev-python/botocore/botocore-1.29.20.ebuild b/dev-python/botocore/botocore-1.29.20.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..eed342eb3cfa |
30 |
--- /dev/null |
31 |
+++ b/dev-python/botocore/botocore-1.29.20.ebuild |
32 |
@@ -0,0 +1,74 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DISTUTILS_USE_PEP517=setuptools |
39 |
+PYTHON_COMPAT=( python3_{8..11} ) |
40 |
+ |
41 |
+inherit distutils-r1 multiprocessing |
42 |
+ |
43 |
+DESCRIPTION="Low-level, data-driven core of boto 3" |
44 |
+HOMEPAGE=" |
45 |
+ https://github.com/boto/botocore/ |
46 |
+ https://pypi.org/project/botocore/ |
47 |
+" |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+if [[ "${PV}" == "9999" ]]; then |
52 |
+ EGIT_REPO_URI="https://github.com/boto/botocore" |
53 |
+ inherit git-r3 |
54 |
+else |
55 |
+ SRC_URI=" |
56 |
+ https://github.com/boto/botocore/archive/${PV}.tar.gz |
57 |
+ -> ${P}.gh.tar.gz |
58 |
+ " |
59 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
60 |
+fi |
61 |
+ |
62 |
+RDEPEND=" |
63 |
+ dev-python/six[${PYTHON_USEDEP}] |
64 |
+ <dev-python/jmespath-2[${PYTHON_USEDEP}] |
65 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] |
67 |
+" |
68 |
+BDEPEND=" |
69 |
+ test? ( |
70 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
71 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
72 |
+ ) |
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 |
+ # fails on unrelated warnings |
99 |
+ tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME |
100 |
+ tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME |
101 |
+ # TODO |
102 |
+ tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider |
103 |
+ ) |
104 |
+ |
105 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
106 |
+} |