1 |
commit: d6129af12b3aeb552a3acb42cb955e13a8700741 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 29 06:42:35 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 29 07:18:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6129af1 |
7 |
|
8 |
dev-python/boto3: Bump to 1.17.60 |
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.17.60.ebuild | 56 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 8ce1edc59bd..772e815fc95 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -11,3 +11,4 @@ DIST boto3-1.17.56.tar.gz 363210 BLAKE2B cd3fd8fbeaf55ef7b3b4fb9ec345619f7b0fb08 |
21 |
DIST boto3-1.17.57.tar.gz 363474 BLAKE2B 230f374f95d2dfe030e5e27f9f2441f3630e0596fe869dc57c0fcad6424ad50a20bb95b943d3a2ce5ef859b94169dbeed4682879d9d24544a24cf27b4f7508e2 SHA512 e0f670263f5eda352e40be28fec7f9926b9caaad18345f6eb8bf912d83b5c25d1345bf18d9bcdfd2186886a6fd0140f1a4f4887632fcd29390c7cb66271fd909 |
22 |
DIST boto3-1.17.58.tar.gz 364365 BLAKE2B ae2070ed5a7be752fd127bad99bb08c25f655e03b52650f4ce6ad9c6c4e030fa1c100e169474e824cd128aea1a067cc0b9a51a6113fb8a816f06e47f9ea7e2c2 SHA512 bbdf4bd1e1c833dbd19d06b4ea9aa0970ef2a585bac81c9267cf19ce7b9cdfb990bd06b67074b8f25d2bd422bee0e619af377a015eb0a3d94cf79c8ef52675b4 |
23 |
DIST boto3-1.17.59.tar.gz 364596 BLAKE2B bd90e7a61cf5f4c63b7b43518a55880c0fdcadb62550ca1a4099deeb26f0f6681ead84b4f7967dd43a8745d4eef2ce16732a1bb548c64e4c76d2c93a7cc39e04 SHA512 510e53c10d5e34b76e7d81f79e6f4d546abd84308bda2eb25c03477cfb0242c2755b3b21d75d99092ebe7b37738e6b916a9e88a481c737efafaebf216f975196 |
24 |
+DIST boto3-1.17.60.tar.gz 365384 BLAKE2B b200c1eba271440f2fa2b42a97bfc9b78b5b4535a03b2c27b8d041ecbaa26c9581636163295336e51a6e6e818cc89f99552cdbb8b3079e768f78117775e4f298 SHA512 0e8a32749cacfa48ae8c235ec619fc71525f46c9492a62d24d14456ceda197907fd487664e5cba961745521801ec3a32ca428b86f87f800499869a45c2fbc8c5 |
25 |
|
26 |
diff --git a/dev-python/boto3/boto3-1.17.60.ebuild b/dev-python/boto3/boto3-1.17.60.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..74b9170a911 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/boto3/boto3-1.17.60.ebuild |
31 |
@@ -0,0 +1,56 @@ |
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 |
+DISTUTILS_USE_SETUPTOOLS=bdepend |
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 ~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/ || die "test failed under ${EPYTHON}" |
87 |
+} |