1 |
commit: d1a4f925d72868835ad4cabc2153bcd2928d0e88 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 30 03:16:14 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 04:26:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a4f925 |
7 |
|
8 |
dev-python/boto3: Bump to 1.24.20 |
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.24.20.ebuild | 68 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 7ca8c5b6ff7a..0c8640032651 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -6,4 +6,5 @@ DIST boto3-1.24.16.gh.tar.gz 511182 BLAKE2B 00180c2cee9499efb3093c517f776536a859 |
21 |
DIST boto3-1.24.17.gh.tar.gz 511281 BLAKE2B 577efc0ebfb39957e55bcaf7aa678cdf072eed885ab1055b15fc8ca2295fedd6d56fd2fb919913beedcdd335ff26e452bc5434283c9ca9d8f0135080e2aa1312 SHA512 a843146951eb2a5ad7dd31159d833806ae403014abf3e9a617f6457e3ecec1a0dc4c6ce6a87079c9112513cbd6a2ccd26542e5736eeea6c5723c7e39c660befa |
22 |
DIST boto3-1.24.18.gh.tar.gz 511407 BLAKE2B a723c58db4cf11a982aa5b779cd27870c96fc63d08dc733f5c7c70bcd027c4ec542c5f988bdab6dd35d9c72bd985b21473b6bc58604ef4ae84b7993de42e754c SHA512 369200635e7c52761ea13f4755e8c105dca92259922e947d777b1400f69f8ed443ae6dae0df4f8c46cdf5493819be696ab4b200216d86285ac68ccc817ecd13e |
23 |
DIST boto3-1.24.19.gh.tar.gz 511808 BLAKE2B b59ddc7826f30833ca5b4ea5b71a2c1f19662cb108e93e4455908788d8357addf7edfdbe993b855fcd1ee063f4def7176376b08757d69745ff2ccaeea908f46d SHA512 007ca70cf4510c6069d80fb885e6b4d4eb8724b333765b60c2cc283f01d1771e9238f61469e303e853045544c6ae2409fa171a3e72e29659f1893fbb9731c98e |
24 |
+DIST boto3-1.24.20.gh.tar.gz 512415 BLAKE2B c2196a9a518b0e4c0fb6e2382390d7d8e275d834a363856c266f696d57b5d56bf7f6a07df10d44670189098b19e0fcfad2a4907af10cd0d6361a5b2164bd6269 SHA512 cb4e426654895e26867a165304d03a722465441e10bf4dfd76fd7c5b45289785ba83f4f66c45d256a5ef6beb3cf5dfa923ea7479e99361344288ad98350a68a6 |
25 |
DIST boto3-1.24.7.gh.tar.gz 508670 BLAKE2B d526f6a4dc4c6126c61ca7c9074b4341c742f84a6e95b38cd8a450fb74df379cee44513e1be6bc7cd0c8f728598d0ecfc06240120a8da71f75f86371498f5233 SHA512 4d57e38c18138b950f93a234132ac1d31c9a29ad00ca5e1298517d6b16ff2849802ce6cfeb8de390c2eb25086043d45e0276a7a563707595649ca1905367be52 |
26 |
|
27 |
diff --git a/dev-python/boto3/boto3-1.24.20.ebuild b/dev-python/boto3/boto3-1.24.20.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..6edcc751d54b |
30 |
--- /dev/null |
31 |
+++ b/dev-python/boto3/boto3-1.24.20.ebuild |
32 |
@@ -0,0 +1,68 @@ |
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..11} ) |
40 |
+ |
41 |
+inherit distutils-r1 multiprocessing |
42 |
+ |
43 |
+DESCRIPTION="The AWS SDK for Python" |
44 |
+HOMEPAGE=" |
45 |
+ https://github.com/boto/boto3/ |
46 |
+ https://pypi.org/project/boto3/ |
47 |
+" |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+if [[ "${PV}" == "9999" ]]; then |
52 |
+ EGIT_REPO_URI="https://github.com/boto/boto3" |
53 |
+ inherit git-r3 |
54 |
+ BOTOCORE_PV=${PV} |
55 |
+else |
56 |
+ SRC_URI=" |
57 |
+ https://github.com/boto/boto3/archive/${PV}.tar.gz |
58 |
+ -> ${P}.gh.tar.gz |
59 |
+ " |
60 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
61 |
+ |
62 |
+ # botocore is x.(y+3).z |
63 |
+ BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" |
64 |
+fi |
65 |
+ |
66 |
+RDEPEND=" |
67 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] |
70 |
+" |
71 |
+BDEPEND=" |
72 |
+ test? ( |
73 |
+ dev-python/mock[${PYTHON_USEDEP}] |
74 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
75 |
+ ) |
76 |
+" |
77 |
+ |
78 |
+distutils_enable_sphinx docs/source \ |
79 |
+ 'dev-python/guzzle_sphinx_theme' |
80 |
+distutils_enable_tests pytest |
81 |
+ |
82 |
+python_prepare_all() { |
83 |
+ # don't lock versions to narrow ranges |
84 |
+ sed -e '/botocore/ d' \ |
85 |
+ -e '/jmespath/ d' \ |
86 |
+ -e '/s3transfer/ d' \ |
87 |
+ -i setup.py || die |
88 |
+ |
89 |
+ # do not rely on bundled deps in botocore (sic!) |
90 |
+ find -name '*.py' -exec sed -i \ |
91 |
+ -e 's:from botocore[.]vendored import:import:' \ |
92 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
93 |
+ {} + || die |
94 |
+ |
95 |
+ distutils-r1_python_prepare_all |
96 |
+} |
97 |
+ |
98 |
+python_test() { |
99 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
100 |
+} |