1 |
commit: b0e640181329521f2e1c855443c8cec93bb5ca85 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 10 05:05:01 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 10 05:38:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e64018 |
7 |
|
8 |
dev-python/boto3: add 1.24.70 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/boto3/Manifest | 1 + |
13 |
dev-python/boto3/boto3-1.24.70.ebuild | 68 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 8fe14585bd2b..d5233a283fe6 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -5,3 +5,4 @@ DIST boto3-1.24.64.gh.tar.gz 533638 BLAKE2B 1cf4774e17226b453aec3203eea6f343e092 |
21 |
DIST boto3-1.24.65.gh.tar.gz 533830 BLAKE2B 10ff261500c010449f281bdd6c2767910519026b8e6a9ef93a36a2d6c9fdb39b1d8b15585a3eae615d96a8b19c63c9eecd88a8c08dca974ff5b233933bb72fdd SHA512 588426a35b4764d05434593538afb245fbfb9e1626e0f0fc86741e83c9662331930bfd4e267f132a01742304bbf70fc71998b61146bee4e215600d6ac26a7afa |
22 |
DIST boto3-1.24.66.gh.tar.gz 534375 BLAKE2B 3a922be7a1736af8d37a11b62f444601e8e822b2ccb937e2e295332a102abd3def304a80c432664504f81bbf1a95aad635226073ad93c194ff96a99ad4ad60d4 SHA512 ae11b8a5247f7a9ad2c222e5e52bae27e7686ad2228e815e9c5f755ec57d1d3e2f805b6f4875edc791dfd4e783f80e0045ca34ceb2cf3dfd5831a086d9a8eb20 |
23 |
DIST boto3-1.24.69.gh.tar.gz 536008 BLAKE2B 2a7c031423bac668110c0fdc17c66085c81cf79646c4b8c4e7442a5451cbb9b828208ebfff576d4b50e9e9ca763af1b78631be5bb6126b20b2497e98982e674b SHA512 b6529bc1a73816057bfb900b29f72cd20bdd828c033137c4280cec20d174bf3d27fbf48333672a6e9d5481ca0b70ac6b2ae7fc11a7a8b0e773cc1df7ae63c491 |
24 |
+DIST boto3-1.24.70.gh.tar.gz 536364 BLAKE2B b93c882f93093e453c82ea0cea298ccaeb9159271b8fc933bc884f1cc2fae14131a28cacfecf0c0f931c77d03d92acdac23a16acbdf4ceb1da0dca6859048616 SHA512 d7fbf4fdf44adf723d1325cb80c44c3e78df4d8c30b106d8256cdaf39bab442498c40624e2d9fb8f53af278518bb897bb9b2b040552f5420a82914f9083ec6bf |
25 |
|
26 |
diff --git a/dev-python/boto3/boto3-1.24.70.ebuild b/dev-python/boto3/boto3-1.24.70.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..6edcc751d54b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/boto3/boto3-1.24.70.ebuild |
31 |
@@ -0,0 +1,68 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..11} ) |
39 |
+ |
40 |
+inherit distutils-r1 multiprocessing |
41 |
+ |
42 |
+DESCRIPTION="The AWS SDK for Python" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/boto/boto3/ |
45 |
+ https://pypi.org/project/boto3/ |
46 |
+" |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+ |
50 |
+if [[ "${PV}" == "9999" ]]; then |
51 |
+ EGIT_REPO_URI="https://github.com/boto/boto3" |
52 |
+ inherit git-r3 |
53 |
+ BOTOCORE_PV=${PV} |
54 |
+else |
55 |
+ SRC_URI=" |
56 |
+ https://github.com/boto/boto3/archive/${PV}.tar.gz |
57 |
+ -> ${P}.gh.tar.gz |
58 |
+ " |
59 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
60 |
+ |
61 |
+ # botocore is x.(y+3).z |
62 |
+ BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" |
63 |
+fi |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] |
69 |
+" |
70 |
+BDEPEND=" |
71 |
+ test? ( |
72 |
+ dev-python/mock[${PYTHON_USEDEP}] |
73 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
74 |
+ ) |
75 |
+" |
76 |
+ |
77 |
+distutils_enable_sphinx docs/source \ |
78 |
+ 'dev-python/guzzle_sphinx_theme' |
79 |
+distutils_enable_tests pytest |
80 |
+ |
81 |
+python_prepare_all() { |
82 |
+ # don't lock versions to narrow ranges |
83 |
+ sed -e '/botocore/ d' \ |
84 |
+ -e '/jmespath/ d' \ |
85 |
+ -e '/s3transfer/ d' \ |
86 |
+ -i setup.py || die |
87 |
+ |
88 |
+ # do not rely on bundled deps in botocore (sic!) |
89 |
+ find -name '*.py' -exec sed -i \ |
90 |
+ -e 's:from botocore[.]vendored import:import:' \ |
91 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
92 |
+ {} + || die |
93 |
+ |
94 |
+ distutils-r1_python_prepare_all |
95 |
+} |
96 |
+ |
97 |
+python_test() { |
98 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
99 |
+} |