1 |
commit: 2ef1328d393f11a0cdba234dd7c691dd8c554594 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 29 23:09:11 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 29 23:38:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef1328d |
7 |
|
8 |
dev-python/boto3: Bump to 1.16.8 |
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.16.8.ebuild | 56 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index f153a3d7989..746f97b8376 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -9,3 +9,4 @@ DIST boto3-1.16.4.tar.gz 337331 BLAKE2B 2b8e43617aea15ec041b1d60647852e80929e78f |
21 |
DIST boto3-1.16.5.tar.gz 337358 BLAKE2B 7bfe739ca601192adfbee3e13a6ac5490c547ba0b99f17e2ca3622fd07b20c8317c0dd19220a38e27e1ffed4cbc61c35bbf2e83756a3c3fd6894f4dee09ac0d4 SHA512 d7b85a5910754437d1bfdae20d8964ae1fc48d5ccc4b97aac343aec91bae45c4eca4ca0b014d0dec8ace172bf3b7aa5ed5b36652cdbeb6f07b36af344c29eca8 |
22 |
DIST boto3-1.16.6.tar.gz 337356 BLAKE2B bf77f8ca696219b2689b0eaa872c114d0df77d2a19f9bdd17fb35aed84f627a4cb6f7cabbf86ce369d43b34e6f2c005f6fb261be6f0c6fd911abc636b3bcc803 SHA512 2f1d4eae6c31de2fe37aac455f35c18ce498f3d49d123f240c0ef28f2e985b61f8106ada32fafe15cdb5f6f5e74641384715a652d795936b05bcc568dccb7fef |
23 |
DIST boto3-1.16.7.tar.gz 337492 BLAKE2B 5b18b5bf7470566e79503692bf9703a283e9b8ec076aac8a0fa0bfcd5c84d927be5dd16d22e2e8497fafc75ca5b0c374ab4a8f02c4d2f6f8bb92db593528a02c SHA512 7e4df78abd055d7c3f1ea4ba03a12de161b08689a6f72a4c5469cac5bd7edc1736655c43e1269b1717a7cc976b2286fa75e24c0396e22583810033402145e19f |
24 |
+DIST boto3-1.16.8.tar.gz 337646 BLAKE2B 2a80dec73fde994d9b9174d45c4b7b4920e2d5e54dbd619502c796a3c76de23b56f9e4e41a6338a2b87445965aa969d8282a03106030f3be74adb80b311af8cb SHA512 a8289719ac61fd07eb1b275cfae35f4903d1147618135c89bb1c9ec505e79b18bf7d0f29cf0284c8849cebee22760085bddf8fba12467a9367f149be8e3192d1 |
25 |
|
26 |
diff --git a/dev-python/boto3/boto3-1.16.8.ebuild b/dev-python/boto3/boto3-1.16.8.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ccc99e1c241 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/boto3/boto3-1.16.8.ebuild |
31 |
@@ -0,0 +1,56 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{6..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 |
+} |