1 |
commit: f8e933576fcc52aa453abf9aacbbc6c1716ad0cc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 1 07:21:54 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 1 07:21:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e93357 |
7 |
|
8 |
dev-python/boto3: Bump to 1.17.42 |
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.42.ebuild | 56 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 20fb5102df3..47018c38580 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -5,3 +5,4 @@ DIST boto3-1.17.33.tar.gz 352659 BLAKE2B b78e3ce86b32d23ade26d93d0c3ba86020a94be |
21 |
DIST boto3-1.17.39.tar.gz 354720 BLAKE2B bd5f9f676c346efc9264e42e802d0c5af5a3674cd4693019d39409e11958947c4a19982ce8572cc1be400f604b85428f6e964df175a71c35ffe11023b19cf733 SHA512 e12c08d06f68900291b36c71252d613a3a26298bdb9c665a1378ab5d26eacd65b496057aee74fedab6d5d955312d9225e63f7e0f1438d8fa739c2c1581d62297 |
22 |
DIST boto3-1.17.40.tar.gz 355270 BLAKE2B f7f3af1882ee9188e37ac90f7ebd55b4cec016a12404dfa402da8bbbfaabb904e7d16a77e4f73b1e5da14550944a97672e5ccaa555f57662616233dbfd807cfb SHA512 6d21fbfac86e9a5992ecef35cc8b29c43bd9bb5823672eb8a375c239369edb775fbddf80f2d64209a4d106e2fd02e72583b6e5c8c6c98fdcb45ea17f1dfc0e41 |
23 |
DIST boto3-1.17.41.tar.gz 355972 BLAKE2B f58dc93b53850781d89db65dcdb17b60141b3dbe7a8f943bc49e3886eb1b3b6989e3720c7966346a91af4679873b8eea4ffcae3f6ea58aa755b06438de10a13a SHA512 9048d1af355397efa6b8ed26007829e2382995c202d27d2dec26b25635e563dda8fe55981483d99c248b1a6e58154ab023e57d8a1ca356a1c46536108616b5a2 |
24 |
+DIST boto3-1.17.42.tar.gz 357288 BLAKE2B 9a92b8dcee054e408954ea1cf31c776777fcf275ed3ccbccb2dca68acc5e6e6215576dc33bf401b5786a3c6f9995eed16f4be093f7d2bad13f781bf10fc2d13f SHA512 b7a9b06a69eefdc3b25b0bedcf7a4e775cb2099b8106541acf9cea5a95cf6a747f30497bbaacbe66931bb6280047f191cd6129815141ef3bd9a75f5691c04075 |
25 |
|
26 |
diff --git a/dev-python/boto3/boto3-1.17.42.ebuild b/dev-python/boto3/boto3-1.17.42.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..74b9170a911 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/boto3/boto3-1.17.42.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 |
+} |