1 |
commit: 91a4877fcb59c38f99460ccfbb9cdd6d1bf295e1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 13 20:00:36 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 13 20:31:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a4877f |
7 |
|
8 |
dev-python/boto3: Bump to 1.18.41 |
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.18.41.ebuild | 57 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index d810fce1bad..84c2f4ab337 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST boto3-1.18.28.tar.gz 406268 BLAKE2B 1379f65f46f287a541b098b3ae183bc7d0a6c40a58f6241d97ce39ffdde4f0655e755fe56890fda767b57c6cf7bd565d95745dbbeb80f42f729f561f6e8d9a82 SHA512 98c0d94dd4971f833677947dbfbdcd495a26fda60592130842cf2f22b8929c6f72f971294d9ddc4923372706bf7f37d3d4cb0ede32afc6955d8253c19ddab63f |
22 |
DIST boto3-1.18.40.tar.gz 412065 BLAKE2B c548c6a1f5cfac3d304384b56882943201c45f3515bcd3804b90656966ba5ada0bfd5130fef34d8ad1466aad8a45166a9e35706d4ea53e9eb4ca1fcfae7172f4 SHA512 95e0c6ea5a9741657d801b1feab1ac813b653becba442d83673168d029635928e031386c7147ce28a9407acda4b593fc32b0a4f6ff1761f4b8d903b585220cd5 |
23 |
+DIST boto3-1.18.41.tar.gz 412328 BLAKE2B 134ec70addcb9748d255b86d9e12dd380094a6a82c1d79ea9772dcc59e6eaac95a4337a1980d4791f856bd9a4d84b2f0a79b00b8b7f5a2e57384eca95a4090f5 SHA512 a7d0093083a6dae9a9ee8ad183027adc5d1f4cde05f244f126af022c77df457c0810626fe9ce5baf6fbc9e8d9ec2f8086bf95587d4f80b63c47bf4ef210bf61a |
24 |
|
25 |
diff --git a/dev-python/boto3/boto3-1.18.41.ebuild b/dev-python/boto3/boto3-1.18.41.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..819e7369111 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/boto3/boto3-1.18.41.ebuild |
30 |
@@ -0,0 +1,57 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="The AWS SDK for Python" |
40 |
+HOMEPAGE="https://github.com/boto/boto3" |
41 |
+LICENSE="Apache-2.0" |
42 |
+SLOT="0" |
43 |
+ |
44 |
+if [[ "${PV}" == "9999" ]]; then |
45 |
+ EGIT_REPO_URI="https://github.com/boto/boto3" |
46 |
+ inherit git-r3 |
47 |
+ BOTOCORE_PV=${PV} |
48 |
+else |
49 |
+ SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
51 |
+ |
52 |
+ # botocore is x.(y+3).z |
53 |
+ BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" |
54 |
+fi |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+BDEPEND=" |
62 |
+ test? ( |
63 |
+ dev-python/mock[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+distutils_enable_sphinx docs/source \ |
68 |
+ 'dev-python/guzzle_sphinx_theme' |
69 |
+distutils_enable_tests nose |
70 |
+ |
71 |
+python_prepare_all() { |
72 |
+ # don't lock versions to narrow ranges |
73 |
+ sed -e '/botocore/ d' \ |
74 |
+ -e '/jmespath/ d' \ |
75 |
+ -e '/s3transfer/ d' \ |
76 |
+ -i setup.py || die |
77 |
+ |
78 |
+ # prevent an infinite loop |
79 |
+ rm tests/functional/docs/test_smoke.py || die |
80 |
+ |
81 |
+ distutils-r1_python_prepare_all |
82 |
+} |
83 |
+ |
84 |
+python_test() { |
85 |
+ nosetests -v tests/unit/ tests/functional/ || |
86 |
+ die "test failed under ${EPYTHON}" |
87 |
+} |