1 |
commit: 72eaf516b988d83db21978ab42634f83da341bbc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 7 04:08:24 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 7 04:27:44 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72eaf516 |
7 |
|
8 |
dev-python/boto3: Bump to 1.21.35 |
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.21.35.ebuild | 63 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 64 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 56c1f73940ca..c1049e79fc6f 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -10,4 +10,5 @@ DIST boto3-1.21.31.tar.gz 484562 BLAKE2B f647e7eb053ed38a8c670073ba028e5cccbb540 |
21 |
DIST boto3-1.21.32.tar.gz 485694 BLAKE2B da6fa6f38b234af9e67bfeb8182751f1ac533a2aea72d8d407aea21554501f598c9da71f3c30dd952248c1ab244c849b779a329fc941d05b53325fe46de2aba4 SHA512 d65cffa91ae1a29e69e4bac2fc0af704987e9bca914f3f905e00c383bc92127c6e41beed71e9445e3f484c6dadde2372aca69f550af600abbb42731275c53eda |
22 |
DIST boto3-1.21.33.tar.gz 486096 BLAKE2B 9a37ec9e7d9ede3aa8fb2e7b3c90ae799a803f64a4793ccc2431e23fc71b7db0cb8e1268117eecb2c69baaf60b8e6bd8468c7d6b3288a6ac509c3add7337ba60 SHA512 bd35e3225abb7c7803c2b2f187ecd03f3c59d095f3f571e86b24ff193c09cb32069a88725a2b964a143a752c627be7f92b985add90b5f26eaed766d655e532e1 |
23 |
DIST boto3-1.21.34.tar.gz 486432 BLAKE2B 9872f7ee32f48f399e1e7a404dc9f68c15ecb639308654a596cc31b3614071fc0b6ef5752eff788f5a363cd11a3cd99bcdc32038f7a8b95971abe71d0d891331 SHA512 3ea997289aa5d1a74fd3c1542b413299b9d89b1f3bc9e3f4cdc568f688b82401772def3d57c1c78d1a5bb0736aa39004cd21f291a35906cf02e9be5cc3321495 |
24 |
+DIST boto3-1.21.35.tar.gz 486835 BLAKE2B 167070bf09785bac17083cef3caf144cf11a4266c4476af2f6e19b06c81f2d2bcee42b8c7de1d1c9ac178c025bcac08366b2c7cb072cdb663910d45f7e8369fa SHA512 fe73111a46fb27d9c77abec3a13c5267243b2fcc3f89c01d9036f6ca9f362d029c9cbfbb6c1df11b302a9fb0468453fc1b91ee3dac4853bab6662f1ebfa211b2 |
25 |
DIST boto3-1.21.8.tar.gz 473069 BLAKE2B f08f76fb9c4e56e6ba5624c885973599505769d7f9eea6e20a06e1a641768b1f7b108fc7293282a55bf4c7d2b62eb34853f46b8c3ada9afb8fc25624daa60c12 SHA512 23ed88dcaefe3224db05959251befaae4f03859bf00daf649db1e838e5fb92e01a6da4bee8083366d804404aac358df19d7e4552d6aaf39f9c4b371ccc7f9088 |
26 |
|
27 |
diff --git a/dev-python/boto3/boto3-1.21.35.ebuild b/dev-python/boto3/boto3-1.21.35.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..6fcba460ab1d |
30 |
--- /dev/null |
31 |
+++ b/dev-python/boto3/boto3-1.21.35.ebuild |
32 |
@@ -0,0 +1,63 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DISTUTILS_USE_PEP517=setuptools |
39 |
+PYTHON_COMPAT=( python3_{8..10} ) |
40 |
+ |
41 |
+inherit distutils-r1 multiprocessing |
42 |
+ |
43 |
+DESCRIPTION="The AWS SDK for Python" |
44 |
+HOMEPAGE="https://github.com/boto/boto3" |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+if [[ "${PV}" == "9999" ]]; then |
49 |
+ EGIT_REPO_URI="https://github.com/boto/boto3" |
50 |
+ inherit git-r3 |
51 |
+ BOTOCORE_PV=${PV} |
52 |
+else |
53 |
+ SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
54 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
55 |
+ |
56 |
+ # botocore is x.(y+3).z |
57 |
+ BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" |
58 |
+fi |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] |
64 |
+" |
65 |
+BDEPEND=" |
66 |
+ test? ( |
67 |
+ dev-python/mock[${PYTHON_USEDEP}] |
68 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
69 |
+ ) |
70 |
+" |
71 |
+ |
72 |
+distutils_enable_sphinx docs/source \ |
73 |
+ 'dev-python/guzzle_sphinx_theme' |
74 |
+distutils_enable_tests pytest |
75 |
+ |
76 |
+python_prepare_all() { |
77 |
+ # don't lock versions to narrow ranges |
78 |
+ sed -e '/botocore/ d' \ |
79 |
+ -e '/jmespath/ d' \ |
80 |
+ -e '/s3transfer/ d' \ |
81 |
+ -i setup.py || die |
82 |
+ |
83 |
+ # do not rely on bundled deps in botocore (sic!) |
84 |
+ find -name '*.py' -exec sed -i \ |
85 |
+ -e 's:from botocore[.]vendored import:import:' \ |
86 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
87 |
+ {} + || die |
88 |
+ |
89 |
+ distutils-r1_python_prepare_all |
90 |
+} |
91 |
+ |
92 |
+python_test() { |
93 |
+ epytest tests/{functional,unit} \ |
94 |
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
95 |
+} |