1 |
commit: c9677adcf1c34c07f73ba0104e706e39f91c0362 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 18 07:44:42 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 08:48:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9677adc |
7 |
|
8 |
dev-python/botocore: Bump to 1.20.74 |
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.74.ebuild | 59 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 9e1d3936fa7..891065a4369 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -9,3 +9,4 @@ DIST botocore-1.20.70.tar.gz 7700136 BLAKE2B ab7ea88763dd4637754a5d9eb955e0947ef |
21 |
DIST botocore-1.20.71.tar.gz 7720081 BLAKE2B 4f5d4f237222a034d2102cb637722c7d63ac34549ca582fce8d7b02a93345cc48067b195f339010a0dd47fa04a53ee4dde5f98eb58a1db3b0d4c958066717063 SHA512 7a9154efeeedc90dd9089641798494095cca9f1967e3615131af154e718081e2ce85e37fea1a729e7d7cd42d2fd6a9f79cae9409ff32aa18674a40a0e2fd0fe1 |
22 |
DIST botocore-1.20.72.tar.gz 7719833 BLAKE2B 23bdce05a95ebcc162e26e91923999ba50910f2fd1d78830c64ee4cb685b2f58e0f14b71c22d34973e2588590fa8af35868f696bbe7719f710baad49d7d1753d SHA512 d46cf353c1df60e24e8e3def8ccf4821bbc36366d25c073330133e4d6ebf83491c5d82dd708c14df65ebbcc08c7705fd3d1d37339742719bdaf58678e04d7824 |
23 |
DIST botocore-1.20.73.tar.gz 7725102 BLAKE2B ccb41513630d8016718cba5e7cc172efb985688f8537dd7f434707f05f9222f486a42c3c84cf25edb437836f04d5ae024292a15a2e784c600bbdebf7dc34d9e3 SHA512 7b1fadcc4e337f0c7498b46cbc0779f20ceb864e2b3974c15a947f18925691ecaaf455bfd7de153d26632a2035a1f922c64320887d06203285947b4310f07e10 |
24 |
+DIST botocore-1.20.74.tar.gz 7729804 BLAKE2B 0693da2be219ee140c5c00a540756d31651d3e4c78976a7f766705123e9fba23e98d73e551b86a6b661530c20abb560b0e36fea8e1c13600303894b3163d2274 SHA512 51bcf78c6804b4a8cddd57eeff96d7ecb65731dfbd87eb665de1356c1daedb4317323b3a0d905e3d459800d800ce6d6ffd8fd1239b26ecf56884bee37159f2b7 |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.20.74.ebuild b/dev-python/botocore/botocore-1.20.74.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4e5dc47d19b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.20.74.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 ~ppc ~ppc64 ~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 |
+} |