1 |
commit: 9d68deaf566c66d35d59845c20385ddb1bc75e49 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 30 07:30:41 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 30 07:49:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d68deaf |
7 |
|
8 |
dev-python/boto3: Bump to 1.17.40 |
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.40.ebuild | 56 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 86446d59e71..2014d9ce053 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -22,4 +22,5 @@ DIST boto3-1.17.35.tar.gz 353497 BLAKE2B cf250901bfd67254c91dc468678d5935f076e37 |
21 |
DIST boto3-1.17.36.tar.gz 353804 BLAKE2B e7a863dc2b9761a15191e43dd32f50243934d163b1a2b3a08577579a5b5ff4496062699a2287ce8cc3445e8ffbda0ddcf9e4c24b98d57a43153cb0d0fac4b695 SHA512 a786499b2147ce6b2920230b9700fe0941b332290675e5897ad94b15d262452e93f9bcaf56f676f52eeea383269af553b95e478d9b554b3596721e578dc6160d |
22 |
DIST boto3-1.17.38.tar.gz 354416 BLAKE2B ac29b9bb2d589170567b0bf42ef7e3404bed83f9a5f5795b4468cd516c1f4e25c0f47e28e1c7f0dbbeb564782af32ae24c4a7429949f1e092045b974bcbfd96c SHA512 558a75f5e855997e98e20eebeb410fb2f7b125eb5c908e5aab873b89956d3c18be75d32c14a44e1cc7e838bb2ae1fdf37a1b4e4697bb311f4d47dc85e4e57831 |
23 |
DIST boto3-1.17.39.tar.gz 354720 BLAKE2B bd5f9f676c346efc9264e42e802d0c5af5a3674cd4693019d39409e11958947c4a19982ce8572cc1be400f604b85428f6e964df175a71c35ffe11023b19cf733 SHA512 e12c08d06f68900291b36c71252d613a3a26298bdb9c665a1378ab5d26eacd65b496057aee74fedab6d5d955312d9225e63f7e0f1438d8fa739c2c1581d62297 |
24 |
+DIST boto3-1.17.40.tar.gz 355270 BLAKE2B f7f3af1882ee9188e37ac90f7ebd55b4cec016a12404dfa402da8bbbfaabb904e7d16a77e4f73b1e5da14550944a97672e5ccaa555f57662616233dbfd807cfb SHA512 6d21fbfac86e9a5992ecef35cc8b29c43bd9bb5823672eb8a375c239369edb775fbddf80f2d64209a4d106e2fd02e72583b6e5c8c6c98fdcb45ea17f1dfc0e41 |
25 |
DIST boto3-1.17.7.tar.gz 346682 BLAKE2B 08c06dda1d59b4f555cad075673917b38cbf9ad8d0037f66027b17076e60b4d5fd32a93e088635320ebc3226a9cd8809c9208ec84f8588c26a77766b21dbee98 SHA512 2ba1817575c4a64c232c84a75a9d3b0db1de8634ded9aa31844930a82ccf4611805c6dd31b2e4d36cc9a2cc1813d233b4d7366305eaf28efd46a3b843d3c2993 |
26 |
|
27 |
diff --git a/dev-python/boto3/boto3-1.17.40.ebuild b/dev-python/boto3/boto3-1.17.40.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..74b9170a911 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/boto3/boto3-1.17.40.ebuild |
32 |
@@ -0,0 +1,56 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python3_{7..9} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=bdepend |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="The AWS SDK for Python" |
42 |
+HOMEPAGE="https://github.com/boto/boto3" |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+if [[ "${PV}" == "9999" ]]; then |
47 |
+ EGIT_REPO_URI="https://github.com/boto/boto3" |
48 |
+ inherit git-r3 |
49 |
+ BOTOCORE_PV=${PV} |
50 |
+else |
51 |
+ SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
52 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" |
53 |
+ |
54 |
+ # botocore is x.(y+3).z |
55 |
+ BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" |
56 |
+fi |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ test? ( |
65 |
+ dev-python/mock[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+distutils_enable_sphinx docs/source \ |
70 |
+ 'dev-python/guzzle_sphinx_theme' |
71 |
+distutils_enable_tests nose |
72 |
+ |
73 |
+python_prepare_all() { |
74 |
+ # don't lock versions to narrow ranges |
75 |
+ sed -e '/botocore/ d' \ |
76 |
+ -e '/jmespath/ d' \ |
77 |
+ -e '/s3transfer/ d' \ |
78 |
+ -i setup.py || die |
79 |
+ |
80 |
+ # prevent an infinite loop |
81 |
+ rm tests/functional/docs/test_smoke.py || die |
82 |
+ |
83 |
+ distutils-r1_python_prepare_all |
84 |
+} |
85 |
+ |
86 |
+python_test() { |
87 |
+ nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}" |
88 |
+} |