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