1 |
commit: 6c54e24c44ef70a3debd688c0f054e51d3f3432f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 22 06:27:36 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 22 07:34:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c54e24c |
7 |
|
8 |
dev-python/boto3: Bump to 1.17.55 |
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.55.ebuild | 56 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 612cc20af04..514d54aa11f 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -6,3 +6,4 @@ DIST boto3-1.17.51.tar.gz 361593 BLAKE2B de24e833330b4dc1f3011c824745af6cf521d16 |
21 |
DIST boto3-1.17.52.tar.gz 361931 BLAKE2B d7660d9e304faeec4f0922a03df2805ee8e619ca0c7c0a822f9defa46ac3f1bf53158ae83034e885dd11382383365b6ef901e6f8c0f985fa327d9ebeb1ba54bd SHA512 76f02eb6bd8e70a6b9c7a44ac14a479b23ba50f37ced6644c511e2bd3e8cd19f803c59e900f47918f52cb0be2522843d6a0c7dae18f595c7ac9f35ceee93c50a |
22 |
DIST boto3-1.17.53.tar.gz 362118 BLAKE2B 5f143166cee5a3a3201eb2575cce540ba21772d1b436e255d304503ab49fadad80f737ae652fd6917bd70ee3a308b955a9c1bbe0e592d7df298f55089638b4dd SHA512 87496e0ab4ac12cbd8f0c10669f8d64f4e6183baf5bdc4f7f4e732e46e073d8a54417149e21f10c6b38562f3f105646d85dc21675ca23f75c9a8dba252f571b1 |
23 |
DIST boto3-1.17.54.tar.gz 362224 BLAKE2B d67ea9a2833d4cf6ec50fc4eab9c194f813f92ef00fa0d1638e0dca0bf03a92fa5208707b3ceda70759231aa69c35bf83028eada42d04209a55d05daf37ce764 SHA512 795a78807e8aad9ba53b196ac6b3547e23d2f7cc962a34121280fe47dfa8f99eac19765c87817918c6ee36dfb7e2b647e5646b7da27eb67900f29430bfe2fb5c |
24 |
+DIST boto3-1.17.55.tar.gz 362821 BLAKE2B 82d4b8fccc858fe3eab1d225cac7b4b51e9a24317e4f405804abd1d6e78f821e00c63a94d02f335313b1c884ab9f8246a7764335d1ab0bbcf6afb613184a7215 SHA512 e7496112ed5dece4f74bf9ea48324b719207e878e3d8fbe642e2bc3d13e653942c4712120cdf6be01cde1511210cd74be549b68032589962d49db68e9d29deb5 |
25 |
|
26 |
diff --git a/dev-python/boto3/boto3-1.17.55.ebuild b/dev-python/boto3/boto3-1.17.55.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..74b9170a911 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/boto3/boto3-1.17.55.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 |
+} |