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