1 |
commit: f87a5336d28fc191a5cfd86da5010e937183b28c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 14 06:46:26 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 14 08:07:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87a5336 |
7 |
|
8 |
dev-python/boto3: Bump to 1.20.35 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/boto3/Manifest | 1 + |
13 |
dev-python/boto3/boto3-1.20.35.ebuild | 59 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 1fcac0dbdc3b..5073d6de48e9 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -8,4 +8,5 @@ DIST boto3-1.20.31.tar.gz 458553 BLAKE2B 396acd8bbc47f76a0ba65da4b83f141f2536903 |
21 |
DIST boto3-1.20.32.tar.gz 459036 BLAKE2B 21aaba2f5f5db65edc3570e44082cf394429407c0431bdfc19866e530b48358909ab730ecb5b871dcbb5f4c087af43f53474a7dca6ce9ca84e78ba480f5cc819 SHA512 a50f0724f4c6ab8b0fc0b329909ff35126bbdc9c73da5927dd1259565b2e43e87c718bbf8b2dd5433e75b4d35b8094d3fc122163febbbe66b6175ecfeb81fad9 |
22 |
DIST boto3-1.20.33.tar.gz 459654 BLAKE2B bf2090e6af9cad5f4e9e5178d30e109c63c403137f9656c22358bb672da7e0ca2e9f36585b5721f2a7bbb2d3d3027fb3942e055d3db78ede0b03f5b6a2e6ad78 SHA512 877c8e59686cd7ac940aa7fb1f2adc75a89e4ce5c74e7a999bebe80e80819c6f909ee8f9acca1c85a6a11f3b7a8ba39a41221ec54a8b99c412da9208a791f4b3 |
23 |
DIST boto3-1.20.34.tar.gz 460169 BLAKE2B d687bb3a90da0e8cd48e551dad68754edc97689350f43879c90e8c96470dc79d389b5332d06d079dd4d26f303d9260f1a83bfc2edfa2507e3a33020e4475e8f1 SHA512 ae13db5ed516a9166c14e72e078f45c911a9c16edc2e2d95dc296de09345fb311ecad92ec7615137b01edaae254d075b74e68c1c909a79b2eb1ac2416ab5bbad |
24 |
+DIST boto3-1.20.35.tar.gz 460636 BLAKE2B 4ec04ae5caac912beb4933727ef0f8f1266b9ab27788a98d7ae10fc8b19a79e3deeed0ce6c1156f12ad12062df24828909fff070813fae4efc705b5e7babc2b1 SHA512 59fcaf477d5d67d68dcc007d93391b71ad8d04d46fc3c098c3f0fb7c82806a1a37999bdb292a240862dbaf83a6c2890d947315d1d9a4faeae68fb9e896cae73b |
25 |
DIST boto3-1.20.5.tar.gz 439166 BLAKE2B c140e15e497e6cdf6b4b77bb99e0a0f5ac01d5b5793f8bfb210b52bbc09e39e6fe06a957951375e0795210dc1c3b2a0afd2f498bc88e449d9e6846f2b357f016 SHA512 2823466e4851684253d4ce42a8c34e5cbdad6d04c823040fe2cebdf0cffb14d5d3f40e28d57ebec14533fab04ba74f27c25f078ddb8791b8f52d0424e11b39fc |
26 |
|
27 |
diff --git a/dev-python/boto3/boto3-1.20.35.ebuild b/dev-python/boto3/boto3-1.20.35.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..0d5810a8ffe0 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/boto3/boto3-1.20.35.ebuild |
32 |
@@ -0,0 +1,59 @@ |
33 |
+# Copyright 1999-2022 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="The AWS SDK for Python" |
42 |
+HOMEPAGE="https://github.com/boto/boto3" |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+if [[ "${PV}" == "9999" ]]; then |
47 |
+ EGIT_REPO_URI="https://github.com/boto/boto3" |
48 |
+ inherit git-r3 |
49 |
+ BOTOCORE_PV=${PV} |
50 |
+else |
51 |
+ SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
52 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
53 |
+ |
54 |
+ # botocore is x.(y+3).z |
55 |
+ BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" |
56 |
+fi |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ test? ( |
65 |
+ dev-python/mock[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+distutils_enable_sphinx docs/source \ |
70 |
+ 'dev-python/guzzle_sphinx_theme' |
71 |
+distutils_enable_tests pytest |
72 |
+ |
73 |
+python_prepare_all() { |
74 |
+ # don't lock versions to narrow ranges |
75 |
+ sed -e '/botocore/ d' \ |
76 |
+ -e '/jmespath/ d' \ |
77 |
+ -e '/s3transfer/ d' \ |
78 |
+ -i setup.py || die |
79 |
+ |
80 |
+ # do not rely on bundled deps in botocore (sic!) |
81 |
+ find -name '*.py' -exec sed -i \ |
82 |
+ -e 's:from botocore[.]vendored import:import:' \ |
83 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
84 |
+ {} + || die |
85 |
+ |
86 |
+ distutils-r1_python_prepare_all |
87 |
+} |
88 |
+ |
89 |
+python_test() { |
90 |
+ epytest tests/{functional,unit} |
91 |
+} |