1 |
commit: 76a0f821c617b20d7217c04c8156754139c8f5fc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 26 07:04:41 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 26 08:07:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a0f821 |
7 |
|
8 |
dev-python/boto3: Bump to 1.23.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.23.8.ebuild | 65 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 66 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index eb6c02e0723c..46d85dbbc035 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -7,3 +7,4 @@ DIST boto3-1.23.4.tar.gz 501445 BLAKE2B f38c963558c99fade5b55c0b8d96221de7af7a21 |
21 |
DIST boto3-1.23.5.tar.gz 501625 BLAKE2B 5a996b4dffd325ea2d6582450b027767ca9845e8096193ef4a8a63ecd61999c67a83cc3b5bc4e77d1f50035188f97003942f1b64293adb36a9cd6e71781b2279 SHA512 5496de026313e9a767f3ba42fe903093ce69777627835a00d75dac4aa966c803a46682b4d766002af793c7e8c95be141cd0d0bbbf27961bd020ac18ef64f5175 |
22 |
DIST boto3-1.23.6.tar.gz 502243 BLAKE2B d5b20d24d76df16669de25bdd9486766e4c4983f2619b9690a1bb318172d3343ae67cc9746438964817c60b1a2e7b3cb530f0dc54e15c13fe14c8cd1a566875b SHA512 3f940e394a15d10593b23ad67ffa16c9a45bbc5d6231b9ae621f90af3bc3497173f309191af7f3d9c3d4ea0331109228853c08d3fed7a84226481a8d911837ed |
23 |
DIST boto3-1.23.7.tar.gz 502686 BLAKE2B 10ca206d1b7add5f9c88c5c474af4b6b4ac6fe4e690fa6ed2d1b4fb833874dfc6901c5c693ba96d72ac5af72533362065e107bb43f225f74fa18e41b52832482 SHA512 2970bbbccda3a74c821ab8598dc24204f838a417ea06b7816d16dda828123725162287d0d6ff4c9c815678f365220d5cea16a25abf5b70a4512845d157ab4f75 |
24 |
+DIST boto3-1.23.8.tar.gz 503306 BLAKE2B 98e0f2aafd0ead06ea9ca7593f211e04d1f9639d3703cc172becc5745858e10a3f7633da4cd3e7a6b8fa8ff84d471f76fb75e9ee4018532c485bd3bdcc2eb972 SHA512 87be75109df80d1ff29ce13b196630c0f43ee8443f35854afaa7a337f77511a42483176e7271d4988dc22c922a47cb2d2c67ddbf7fe9bde43e9cc1c341bdc756 |
25 |
|
26 |
diff --git a/dev-python/boto3/boto3-1.23.8.ebuild b/dev-python/boto3/boto3-1.23.8.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..8b87bf9ae488 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/boto3/boto3-1.23.8.ebuild |
31 |
@@ -0,0 +1,65 @@ |
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="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
56 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
57 |
+ |
58 |
+ # botocore is x.(y+3).z |
59 |
+ BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" |
60 |
+fi |
61 |
+ |
62 |
+RDEPEND=" |
63 |
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] |
66 |
+" |
67 |
+BDEPEND=" |
68 |
+ test? ( |
69 |
+ dev-python/mock[${PYTHON_USEDEP}] |
70 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
71 |
+ ) |
72 |
+" |
73 |
+ |
74 |
+distutils_enable_sphinx docs/source \ |
75 |
+ 'dev-python/guzzle_sphinx_theme' |
76 |
+distutils_enable_tests pytest |
77 |
+ |
78 |
+python_prepare_all() { |
79 |
+ # don't lock versions to narrow ranges |
80 |
+ sed -e '/botocore/ d' \ |
81 |
+ -e '/jmespath/ d' \ |
82 |
+ -e '/s3transfer/ d' \ |
83 |
+ -i setup.py || die |
84 |
+ |
85 |
+ # do not rely on bundled deps in botocore (sic!) |
86 |
+ find -name '*.py' -exec sed -i \ |
87 |
+ -e 's:from botocore[.]vendored import:import:' \ |
88 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
89 |
+ {} + || die |
90 |
+ |
91 |
+ distutils-r1_python_prepare_all |
92 |
+} |
93 |
+ |
94 |
+python_test() { |
95 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
96 |
+} |