1 |
commit: e9a6a0e673a93964116948498a922bcb41d8eaca |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 1 03:53:14 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 1 06:53:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9a6a0e6 |
7 |
|
8 |
dev-python/botocore: Bump to 1.27.21 |
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.27.21.ebuild | 66 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 67 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index d558d4974c8d..7705241255ae 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST botocore-1.27.12.tar.gz 9132872 BLAKE2B 74b74b5a5745cfacac066d5e087974fb58be5a600c7cfb2077d243044b8c429b1396d19e6790c0f754e42931085b115f74039b8c93da39593512d28021d6314a SHA512 767defae44ffb3b54b55625fd0f8a20c22a4a5f209a1397b1a27cfc2e36ac9e03cfdd25bc77bebc944613c5744dd7651e1b574674e8a992f219e172eee9210f5 |
22 |
DIST botocore-1.27.17.tar.gz 9130505 BLAKE2B 04c6b37f3b42a0f9fb696b5213338b004418a68c754f5027ad447119fb20556dc49bd53f40fd9560ea3f5bdcf2afbe151dba68e901079baec770f9f223b1a894 SHA512 b1a145d3c97adfd4df40639da99e1c34087508be189d5818ee7176f20454f2897a6f518a14b4bfbf41cb169a17188bec467337c10d0ad511e223f0c1ff5b64ee |
23 |
DIST botocore-1.27.20.tar.gz 9146126 BLAKE2B 3ec9e6480fb5bc95f72ffa1f0972b7d9e807fce2e69a3118818a7eba5c1023316c9499bdcbc2f6b2616842eb8797ed0b2bef5ebceee5b74a12074b927b339994 SHA512 1ac0b189e14fb25f07c63e4933113ca64c2bdc53fe719270daccc55b2c7d8ba7421fa81aa60e6fc3a0c86cdb3f57980781388586ce154d87f17f860cc943467a |
24 |
+DIST botocore-1.27.21.tar.gz 9149425 BLAKE2B fa7141f78128ebc4810bf51bcca93a23606ef611721fd1a32ca490a9e38aef86439385bd7a0465e82a853c5bb7596dffb0b17fc5d7015fb5039f4933ab1554f1 SHA512 59bdf83b237e3845f48685919a6330846d2a4d7ce12d15d99cdb8dd9f2d3e0dcc0d1641c52de8d6d9ef7b7202b80bc59070cb1786f1b38c20884e0fa32481432 |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.27.21.ebuild b/dev-python/botocore/botocore-1.27.21.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..830c713f6036 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.27.21.ebuild |
31 |
@@ -0,0 +1,66 @@ |
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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
55 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
56 |
+fi |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ dev-python/six[${PYTHON_USEDEP}] |
60 |
+ <dev-python/jmespath-2[${PYTHON_USEDEP}] |
61 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] |
63 |
+" |
64 |
+BDEPEND=" |
65 |
+ test? ( |
66 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
67 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+" |
70 |
+ |
71 |
+distutils_enable_sphinx docs/source \ |
72 |
+ 'dev-python/guzzle_sphinx_theme' |
73 |
+distutils_enable_tests pytest |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ # unpin deps |
77 |
+ sed -i -e "s:>=.*':':" setup.py || die |
78 |
+ |
79 |
+ # unbundle deps |
80 |
+ rm -r botocore/vendored || die |
81 |
+ find -name '*.py' -exec sed -i \ |
82 |
+ -e 's:from botocore[.]vendored import:import:' \ |
83 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
84 |
+ {} + || die |
85 |
+ |
86 |
+ distutils-r1_src_prepare |
87 |
+} |
88 |
+ |
89 |
+python_test() { |
90 |
+ local EPYTEST_DESELECT=( |
91 |
+ # rely on bundled six |
92 |
+ tests/functional/test_six_imports.py::test_no_bare_six_imports |
93 |
+ tests/functional/test_six_threading.py::test_six_thread_safety |
94 |
+ ) |
95 |
+ |
96 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
97 |
+} |