1 |
commit: 1cfc87c0cdcafdd3435332f41226bc67b53aabfd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 19 22:15:09 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 19 22:59:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cfc87c0 |
7 |
|
8 |
dev-python/boto3: Bump to 1.20.39 |
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.39.ebuild | 60 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 61 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 597e8ac8f950..2fcf7b44cbc7 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -11,4 +11,5 @@ DIST boto3-1.20.34.tar.gz 460169 BLAKE2B d687bb3a90da0e8cd48e551dad68754edc97689 |
21 |
DIST boto3-1.20.35.tar.gz 460636 BLAKE2B 4ec04ae5caac912beb4933727ef0f8f1266b9ab27788a98d7ae10fc8b19a79e3deeed0ce6c1156f12ad12062df24828909fff070813fae4efc705b5e7babc2b1 SHA512 59fcaf477d5d67d68dcc007d93391b71ad8d04d46fc3c098c3f0fb7c82806a1a37999bdb292a240862dbaf83a6c2890d947315d1d9a4faeae68fb9e896cae73b |
22 |
DIST boto3-1.20.37.tar.gz 461197 BLAKE2B 4ae94815809401378bbd6c6b7774776c62436c3ae379be44b045105d00ffdebc6cfba1112ed6d4693662c6a00b5de53b4fcd1ea605a93cccb1406f3f983d8c9a SHA512 368abbe51e814b5a8080323f436d8e0b5ea660b31abd77a49299afd6363c3d10e51883a3237f06799be53472c3e24c76f5ba3ece8cc9721b87fe3fb40ad8911f |
23 |
DIST boto3-1.20.38.tar.gz 461687 BLAKE2B 8a2959be81279d20036f1f9da239260f3161f6b7f8c25716ad56075b354cc24bd555bbd32f5addf6e0cf3447676a54ee01f9f6a14e907214c248e1e20941e215 SHA512 73c080e466d2c45dcfb897e2d7390fa4c1acd93625791b6c6a96b8b48b9990aa4e5377486293e92701392faacfdeaa97579dbdc6f29a48ba5ddba0037533a4cf |
24 |
+DIST boto3-1.20.39.tar.gz 461996 BLAKE2B 3bb7aa78b7b4afa24c9e3d2a50137296d72236a48f53b4727c4546b796f6de1c65f19d45f42fae35cc2d7a60c8a8b0abae45be1b312fed9d62fa846740c5e339 SHA512 25fd66712dc85c02033759022bd48ef082cf7ec2442de574f22baa4b6ab4e9ae71ba17e258d7495bf2f4cce51a975d3a49e61c921e265d40ab9717081a0a2fd7 |
25 |
DIST boto3-1.20.5.tar.gz 439166 BLAKE2B c140e15e497e6cdf6b4b77bb99e0a0f5ac01d5b5793f8bfb210b52bbc09e39e6fe06a957951375e0795210dc1c3b2a0afd2f498bc88e449d9e6846f2b357f016 SHA512 2823466e4851684253d4ce42a8c34e5cbdad6d04c823040fe2cebdf0cffb14d5d3f40e28d57ebec14533fab04ba74f27c25f078ddb8791b8f52d0424e11b39fc |
26 |
|
27 |
diff --git a/dev-python/boto3/boto3-1.20.39.ebuild b/dev-python/boto3/boto3-1.20.39.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..48ea5aa483a1 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/boto3/boto3-1.20.39.ebuild |
32 |
@@ -0,0 +1,60 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DISTUTILS_USE_PEP517=setuptools |
39 |
+PYTHON_COMPAT=( python3_{8..10} ) |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="The AWS SDK for Python" |
43 |
+HOMEPAGE="https://github.com/boto/boto3" |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+ |
47 |
+if [[ "${PV}" == "9999" ]]; then |
48 |
+ EGIT_REPO_URI="https://github.com/boto/boto3" |
49 |
+ inherit git-r3 |
50 |
+ BOTOCORE_PV=${PV} |
51 |
+else |
52 |
+ SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
54 |
+ |
55 |
+ # botocore is x.(y+3).z |
56 |
+ BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" |
57 |
+fi |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] |
63 |
+" |
64 |
+BDEPEND=" |
65 |
+ test? ( |
66 |
+ dev-python/mock[${PYTHON_USEDEP}] |
67 |
+ ) |
68 |
+" |
69 |
+ |
70 |
+distutils_enable_sphinx docs/source \ |
71 |
+ 'dev-python/guzzle_sphinx_theme' |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+python_prepare_all() { |
75 |
+ # don't lock versions to narrow ranges |
76 |
+ sed -e '/botocore/ d' \ |
77 |
+ -e '/jmespath/ d' \ |
78 |
+ -e '/s3transfer/ d' \ |
79 |
+ -i setup.py || die |
80 |
+ |
81 |
+ # do not rely on bundled deps in botocore (sic!) |
82 |
+ find -name '*.py' -exec sed -i \ |
83 |
+ -e 's:from botocore[.]vendored import:import:' \ |
84 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
85 |
+ {} + || die |
86 |
+ |
87 |
+ distutils-r1_python_prepare_all |
88 |
+} |
89 |
+ |
90 |
+python_test() { |
91 |
+ epytest tests/{functional,unit} |
92 |
+} |