1 |
commit: cf4fa375f9839277fd36929ab1cc0426561d30f4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 8 22:46:09 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 8 22:46:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf4fa375 |
7 |
|
8 |
dev-python/botocore: Bump to 1.20.90 |
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.90.ebuild | 59 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index da79f9654c2..65ba9e3110e 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -11,3 +11,4 @@ DIST botocore-1.20.86.tar.gz 7798788 BLAKE2B 93450262bf1e34a627a64f8972e4d8b02dc |
21 |
DIST botocore-1.20.87.tar.gz 7800088 BLAKE2B ba98b0f910216a340f48adb5ddf14aa9239ca44202641c97ca91da69f34a67716c50d9bc6a330021fd630f7c309062fc0326543e46ee1207c294870baefd0aeb SHA512 b922e40030a1708ce2e5a2fa60012e21e28b955c6d30fbced5d1a93dafe189e83430b5cee162e2ab73e80c7dfa18657c2ca42057c17e943c0d421c6cd9969b53 |
22 |
DIST botocore-1.20.88.tar.gz 7806185 BLAKE2B 21c3e3420fc9810712a462cfab4f43509ebd25a4cbaee4a51f2d82cc90a530c4a170b66cb6551121148d284404427eca7d9dd979ead5a9f4132ded47b4adf180 SHA512 aa36c39147d870758b9561e569f6b8a616e69437d775b1f68d522574a24f0e8252e5332d6e20b92448bc3189ec50232d89134bf86d12a3b72d63962de0d9cda6 |
23 |
DIST botocore-1.20.89.tar.gz 7808318 BLAKE2B cc160b85d7e85267aa4bd7140c8f90b33dc07e5b8c0cf2cd4761ea456dfa955bd95b500e8da89bd9cca70237edcbd7df45c8f1d543e4e67646a8e597a5516fb5 SHA512 41fd7cf61b8eddb3e467d6d6b115c53e75413bdd3bb181723dd48c6efdd7133eee45ac597bf207482b2aa5872bf79d7801176194e474c61614599119df67db5a |
24 |
+DIST botocore-1.20.90.tar.gz 7810567 BLAKE2B f34ce1e4ed16254585a90e3ba1674a35909169a0a73a216e0b5d60609567133ce1257fc3b48a21e3c707b42db546612f40263e20fb68eba1e01cc3560ed5ef15 SHA512 4765abfe9913bb214d1c4aeacc00f5b5745322121bbb1e652705fbd63a9801476e513596078f833306834047f42b39edc9de31939f02860476fdb825f4b654b1 |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.20.90.ebuild b/dev-python/botocore/botocore-1.20.90.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..762144aabf7 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.20.90.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_{8..10} ) |
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 ~ppc ~ppc64 ~sparc ~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 |
+} |