1 |
commit: 069a8f4f1d2440cb64d0dab5beee9e2ecd84f294 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 10 07:32:11 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 10 08:01:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=069a8f4f |
7 |
|
8 |
dev-python/botocore: Bump to 1.20.49 |
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.49.ebuild | 59 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 5da902d1f8a..7ca07f4237d 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -12,3 +12,4 @@ DIST botocore-1.20.45.tar.gz 7597127 BLAKE2B 64023be1da8b10ab29110fe626ba641e9da |
21 |
DIST botocore-1.20.46.tar.gz 7600596 BLAKE2B 31d81b6ae5ed9a4cf61d81151216bfb49badefce1eb56ae65ead25219044483753e6216883c50602efac336c7d2681a3814ec2449c964d9d0281dc0480180d32 SHA512 fdedd2b79ac8134b7cb819f2f713e7466c4e6f635155799dac0b95b5d97fc2010190b1e64c035b6f375082dff4e65cdf6389e267d25690caa7596dbb381c83c0 |
22 |
DIST botocore-1.20.47.tar.gz 7619450 BLAKE2B c54015bbc537de9a8400f294e3e866f755f462515a2cbde8c15aa80d6d096f02442a71841cb9f9eca931ad948840c94946bcddd58fd1b81ef08d2cba88d9c7c2 SHA512 6f937133e8c9b3978367b4eeeb6b3a752e1d87d528cfc6ee1de8807ad5be14020815c130da25232405a09371a06d329da8b36fb29a0d1ff4391ccfd109727c1a |
23 |
DIST botocore-1.20.48.tar.gz 7630297 BLAKE2B 63956d3d9aae36ff72b030d33ca182c7af466d3151344ac6b483d8ca661cc18f155b49dc5c4229a8b02b4d9ad2323a91751c6acfc080a09b450f302871e30d0e SHA512 76e38a89aa4faca71a05fe84ed6cade67c5baaabc1ae17ca14b06ffd22a2992bf61e924350945f1a659264c41726fa265aed9ff56d2b3a4e2b726dea717858f7 |
24 |
+DIST botocore-1.20.49.tar.gz 7630973 BLAKE2B 89d10ece5cd645d6904046804c2b2d789d7d09c2aa231856f7b5529f54a4933c2bdcc800a64d3bbc27d9f4a7de7debcb3fbc37ead1923b7fa3dbb44b40dd97e8 SHA512 994f9ee04d0b7c99aee12be5823c29fdafe145b7db71df765ba798ba33650b2189fbbfd274aec1051a7e9be1d1ac0ebf19b61ce4d8afd98635e108bbb2c63351 |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.20.49.ebuild b/dev-python/botocore/botocore-1.20.49.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4e5d698e619 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.20.49.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 |
+} |