1 |
commit: 1e1eaae30dd452a55a8290ae3e945cfb62f42bc9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 13 06:08:34 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 13 06:34:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1eaae3 |
7 |
|
8 |
dev-python/botocore: Bump to 1.20.110 |
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.110.ebuild | 59 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 7016ad7dfce..d52b40fa766 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -4,4 +4,5 @@ DIST botocore-1.20.106.tar.gz 7885164 BLAKE2B 3fa8b860a40a0915f6a59912fdee7b9e55 |
21 |
DIST botocore-1.20.107.tar.gz 7893209 BLAKE2B 4e4882efef667ae91bb3e42a84748609390ef637d0a72a0b8b9dbab83a55cac9117553a0ef34bd38af98493d0972fd6178b322207c71914068eb3c634debaae9 SHA512 09c7a4bc4fab922aa7dbe94fcc0da6a462dbd90bdd51e8612431e5a790b46c56eab3b436048572a4a14c6ed2417ddca8efa52474d28fbe32558550c44b3fe0dd |
22 |
DIST botocore-1.20.108.tar.gz 7897833 BLAKE2B 3b4ee27640dbfce1c9923137ef21500649454eba8e1a5b569fb0d949253e619852b61344ff86c769e2f2314a089047fe9590a685982491b21f4f7feb0a33b220 SHA512 a394fa8fc686d07ad5e1a25f0403d4adf53aa6af565696c4bd5aab58ee8f739b761f4c8058263a05b028175d1256ab87fa7fae3035cee605f236749939cc0eab |
23 |
DIST botocore-1.20.109.tar.gz 7900306 BLAKE2B 1f2009ccb236ff7b4d9d3b45b34b2295c9bbbd4bce207c51514bf3f568985eb3d5fedaf0e5309266f46ad1e42466524d148d601452474b738b53c329f0164a84 SHA512 7f266b2395f79bfa629ac147abbf646bf049ea78b208228b3817912626845fffac9c89419c75444116ae6f14067805e291faeb942e6d25061d2e6f1c382d762e |
24 |
+DIST botocore-1.20.110.tar.gz 7904149 BLAKE2B f503e9d4876820f669bd4ae12603498fe0a310fddd7a7c739a53b804391657c48144c43c2dd3606932c7e457d1e2324a5dba4885e93eaf7526d46080b565c6d8 SHA512 e33d8e9dbd212d06644882e60c9b6f2754a549727a22d73814798230561b3d766524f0a32b49cce8ac68c1cb47e58eab7047abe75bf7c37ef7b6857dd81d2dbc |
25 |
DIST botocore-1.20.97.tar.gz 7846552 BLAKE2B da0355cc229ba8a0632f67866bf06b27d7b257184b53670e5dc183c6b5a1f4d3a34145de0a3f04abd2adc08de3f0775e3c7e0dbecae729acb5bc05c7ce9acaf2 SHA512 7411d5de8ecf0c42c0142ded036189dcf378cd16f761071beb5bc2a2c240eabb0c4a8c669ce89a5b4e798a0aae92f0e67755627c2a84df77fc2e9557265a4e3b |
26 |
|
27 |
diff --git a/dev-python/botocore/botocore-1.20.110.ebuild b/dev-python/botocore/botocore-1.20.110.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..30e0988848a |
30 |
--- /dev/null |
31 |
+++ b/dev-python/botocore/botocore-1.20.110.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=8 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
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 ~ppc ~ppc64 ~sparc ~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 |
+} |