1 |
commit: 98e9105f91e62720679538a6c28a79ca0701a49b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 29 07:42:55 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 29 08:33:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e9105f |
7 |
|
8 |
dev-python/botocore: Bump to 1.24.28 |
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.24.28.ebuild | 68 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 457050bb3d24..d8eba447cc10 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -3,4 +3,5 @@ DIST botocore-1.24.22.tar.gz 8839717 BLAKE2B 7b3843900da913561ab2a99f7371139cd8f |
21 |
DIST botocore-1.24.25.tar.gz 8852839 BLAKE2B feb0f5de1d34b9f5a1b20f76480f432059c74293c70d310234beb8515741883d639dc54d7843d47e03aa107846d1a83af29fb98e6cc519aea289841a17464f56 SHA512 d2bb402bff2af857d433b379d81b727120543de6a5cf3d13f0c5dd60cef219fd5ea6362156c5284bb06860ec2ca0f1823fce4dccda03e4213eb737e45470ca0d |
22 |
DIST botocore-1.24.26.tar.gz 8855676 BLAKE2B ad8e82872429043a9a80d6584a5a8af623ce91b516c045284b8ea618629c7cf65195433691db7eced91969ccb14fc8c7f57956897b528c6861fe84175d46286b SHA512 2f08bcd1db6b9a5ede68be204d68f8fa0f1c906ca8d7dccb69d5775a66f86c990788970194058973a90ada928914ec92cf02d4cba30a85c7619bb38d3b117268 |
23 |
DIST botocore-1.24.27.tar.gz 8856607 BLAKE2B aa149a79106bc6e9460d2b69b032b20d0fcd9b0a4d7dda04ac656e0681aff378267f5c6bde4e64432f309ad4ed89ff8cae50b0dc92f01086f8fbe433e5347ad3 SHA512 1cdeb2926bfdd54eb6805295982891cb02005c01ee74e3394d8680e486fd924f73322fb9ae56730deaf360b0e60c9fd482759d597eadb3dc180cb099beff487c |
24 |
+DIST botocore-1.24.28.tar.gz 8856916 BLAKE2B d662fec904cdfb048582252cfa77dadfcb1fcb58bb61e4b273bda34120825a27bc630d2c7fffd215f8733cdba97534da643da6d5b094f3e2ee3c6bb0a86bb27f SHA512 3f10d5ccd2b8051598adc37e452b057a3b53bc267f9cc3fb71caa18f406e515f008f22d2394a37b194ff4c63477f93791e6bdc09657df5ba59377379227c106b |
25 |
DIST botocore-1.24.8.tar.gz 8798121 BLAKE2B 4ca37ed7be0af62901bf154f75739cc7e07505a809e551884c72d5b5eed334fff1111fc6db016df522564a1f3d9b6f258e8eca96161a734711340bf880b553b5 SHA512 6ac2139694ab199313a0fb9a2f783b12de7f3915d10cba739f4758356a3b84a917c3c394954b6d82d7a62de907c6fe57a3559e2b9a625bb0479e7bacd31d21cc |
26 |
|
27 |
diff --git a/dev-python/botocore/botocore-1.24.28.ebuild b/dev-python/botocore/botocore-1.24.28.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..3bf7c7cfb689 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/botocore/botocore-1.24.28.ebuild |
32 |
@@ -0,0 +1,68 @@ |
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..10} ) |
40 |
+ |
41 |
+inherit distutils-r1 multiprocessing |
42 |
+ |
43 |
+DESCRIPTION="Low-level, data-driven core of boto 3" |
44 |
+HOMEPAGE="https://github.com/boto/botocore" |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+if [[ "${PV}" == "9999" ]]; then |
49 |
+ EGIT_REPO_URI="https://github.com/boto/botocore" |
50 |
+ inherit git-r3 |
51 |
+else |
52 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
53 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
54 |
+fi |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ dev-python/six[${PYTHON_USEDEP}] |
58 |
+ <dev-python/jmespath-2[${PYTHON_USEDEP}] |
59 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+BDEPEND=" |
63 |
+ test? ( |
64 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
65 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+PATCHES=( |
70 |
+ "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" |
71 |
+) |
72 |
+ |
73 |
+distutils_enable_sphinx docs/source \ |
74 |
+ 'dev-python/guzzle_sphinx_theme' |
75 |
+distutils_enable_tests pytest |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ # unpin deps |
79 |
+ sed -i -e "s:>=.*':':" setup.py || die |
80 |
+ |
81 |
+ # unbundle deps |
82 |
+ rm -r botocore/vendored || die |
83 |
+ find -name '*.py' -exec sed -i \ |
84 |
+ -e 's:from botocore[.]vendored import:import:' \ |
85 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
86 |
+ {} + || die |
87 |
+ |
88 |
+ distutils-r1_src_prepare |
89 |
+} |
90 |
+ |
91 |
+python_test() { |
92 |
+ local EPYTEST_DESELECT=( |
93 |
+ # rely on bundled six |
94 |
+ tests/functional/test_six_imports.py::test_no_bare_six_imports |
95 |
+ tests/functional/test_six_threading.py::test_six_thread_safety |
96 |
+ ) |
97 |
+ |
98 |
+ epytest tests/{functional,unit} \ |
99 |
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
100 |
+} |