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