1 |
commit: 707a93f47a609bfd4b15aac6adfbc465f0862136 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 27 06:28:54 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 27 07:08:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=707a93f4 |
7 |
|
8 |
dev-python/botocore: Bump to 1.20.58 |
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.20.58.ebuild | 59 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 680d29caacf..69c9ce7a425 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -9,3 +9,4 @@ DIST botocore-1.20.54.tar.gz 7650344 BLAKE2B 2dd0a3f8c7c5665e849cf74b663a88e6341 |
21 |
DIST botocore-1.20.55.tar.gz 7652816 BLAKE2B fa31d72dc769629165a1fa26b23f27affa8bddc5441493dc7690429e323d8af5c71fe52c4d90b37f3233984cdeab0999609759a7df60e894023005ea88878a1b SHA512 a4965c2a496b7e4a2fc28221cb2a1099ee7fe80744825ef2dbaecc129eb50bf82bc0f83ec2a0040745b59a6d556de8c066ecbd63287ed9c806b92a67937d8f02 |
22 |
DIST botocore-1.20.56.tar.gz 7654165 BLAKE2B 379dcdcb7f528124a925c5ec191448cd319ab687bea88adfef8e6bd2867d78c5a12e9829af93a8ddc6bd429b53225c73eb27ada2b469ce970ef5c6992d755bf7 SHA512 a414358bcef8a87523119b92b75cc152b3e5e3b7b27a04ad84e28b59367f91994870046ef3b2219ebfda4a0cb79e6a2b0b4f7f8cd2bf2133987358f1dd3bf4fd |
23 |
DIST botocore-1.20.57.tar.gz 7654823 BLAKE2B 7a92bb0fa470ee6d73eb6289e1b332ef96cb9948c8caf32c56a666dffaf738b71b39bc4798b07206a7991c56d3872e974b8cafc764d89f598efc3979f2dc1b21 SHA512 909d019295055f0b70465aeeb64a883ebf34ec3097e486107a5379c05f2dacfb6a106c5c38c0322f41a7d875338b09de5234cb3c90b00deeedc9b4f756421701 |
24 |
+DIST botocore-1.20.58.tar.gz 7649484 BLAKE2B eb945897b9c143a7d9149cd9a938de08c6e610da428b8d21cefaacb51606414f90107c6abc91c81bebf4f890bc52adc31ddf3cb942f765557214a91bdda55135 SHA512 9eaa93f9764b732baf7ec3fe9e456b1314f6b253cb19aac7ad8e0e5e3829d1ffda75682d79e20310e3918b2a83c46a451a6f2fb931eecac75be132d358352f76 |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.20.58.ebuild b/dev-python/botocore/botocore-1.20.58.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4e5d698e619 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.20.58.ebuild |
31 |
@@ -0,0 +1,59 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Low-level, data-driven core of boto 3" |
41 |
+HOMEPAGE="https://github.com/boto/botocore" |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+ |
45 |
+if [[ "${PV}" == "9999" ]]; then |
46 |
+ EGIT_REPO_URI="https://github.com/boto/botocore" |
47 |
+ inherit git-r3 |
48 |
+else |
49 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" |
51 |
+fi |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/six[${PYTHON_USEDEP}] |
55 |
+ dev-python/jmespath[${PYTHON_USEDEP}] |
56 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/mock[${PYTHON_USEDEP}] |
62 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" |
68 |
+) |
69 |
+ |
70 |
+distutils_enable_sphinx docs/source \ |
71 |
+ 'dev-python/guzzle_sphinx_theme' |
72 |
+distutils_enable_tests nose |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ # unpin deps |
76 |
+ sed -i -e "s:>=.*':':" setup.py || die |
77 |
+ # very unstable |
78 |
+ sed -i -e 's:test_stress_test_token_bucket:_&:' \ |
79 |
+ tests/functional/retries/test_bucket.py || die |
80 |
+ distutils-r1_src_prepare |
81 |
+} |
82 |
+ |
83 |
+python_test() { |
84 |
+ # note: suites need to be run separately as one of the unit tests |
85 |
+ # seems to be leaking mocks and breaking a few functional tests |
86 |
+ nosetests -v tests/unit || |
87 |
+ die "unit tests failed under ${EPYTHON}" |
88 |
+ nosetests -v tests/functional || |
89 |
+ die "functional tests failed under ${EPYTHON}" |
90 |
+} |