1 |
commit: c324ec6303d2c70796a065e7f899272735012746 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 17:25:51 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 18:20:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c324ec63 |
7 |
|
8 |
dev-python/botocore: add 1.27.42 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/botocore/Manifest | 1 + |
13 |
dev-python/botocore/botocore-1.27.42.ebuild | 69 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 8ad3547f8681..e6f4101b8b21 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST botocore-1.27.26.tar.gz 9167551 BLAKE2B 9e95c1e6e5261b08247615446a589318d92 |
21 |
DIST botocore-1.27.31.tar.gz 9184651 BLAKE2B 01dcd9e94490923f7d0f463d3019007f58c5e441ae65ea2c365ed20417e8f7b532228a335c6f461ca97411269aaa78aa48fa33cccd8b2e45a6665c2410bb4352 SHA512 27f810e0519144fae71600ea7f6d9a15cca30386ee0f2b06beeeb64c06da8728b54709fb770673f708697dd930fe744703728ce00b6a1149361ab550fef9ccb4 |
22 |
DIST botocore-1.27.36.gh.tar.gz 9465835 BLAKE2B c22c341d6e762316f3d8719bd8c1fd52140642739361a7ade326d739005dbd141a6b4e1798287b40bf7ba40cd5e158d36f195893d529f5ba375b06087d2122b9 SHA512 09ef156b3c0457ceef341bf26e3f060d3e91808f1da66d1dbb06ba2826be3c61e047383dc9d8a719bb8e172e91f6475f4613c14d30c57c6a909b51c8ba7334cc |
23 |
DIST botocore-1.27.41.gh.tar.gz 9493802 BLAKE2B dff510a658e77fe7185a8d118228cd80d06ea066328d39c56eaa8f01459dd11131ca73dcfe464a5e1403f8aceaa96065d5ea335bb268155c81c9b71299488d45 SHA512 29f419c4338e37bcc7fce38836b1f3b0ed1e552ea94cbe77ea09cd18c3c0b80d3405cd4a3468570c7eb6f1301bfed0d26dcc98feb7a1f62b9e8b1b11c61cdac5 |
24 |
+DIST botocore-1.27.42.gh.tar.gz 9493679 BLAKE2B 324c574bfa30b26428010750d1488a814946a505409afe356d7d7a55c4498d7c67c504638540083276c3ecf734693d21cb9c7650c1b3a05ef4f3638f92fdee21 SHA512 24ac5ddb90bb6b03369cf6ed1bc9364192d4f9a6904dbd285910c2c24efd0fe2fc9fffd55a94b6ad6ca38cb17748e7bc4a8fc54f6318d2ce6d915810d1f10aac |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.27.42.ebuild b/dev-python/botocore/botocore-1.27.42.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..6558cbe56a50 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.27.42.ebuild |
31 |
@@ -0,0 +1,69 @@ |
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 |
+ ) |
98 |
+ |
99 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
100 |
+} |