1 |
commit: 31b401d9c7eafb089fb70463496e81a1643b0315 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 1 05:53:41 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 1 07:09:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b401d9 |
7 |
|
8 |
dev-python/boto3: Bump to 1.26.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.26.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 8aadf56f9b64..256c6f26c9a5 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST boto3-1.26.11.gh.tar.gz 561018 BLAKE2B 3bd4ddd23d0752dcaad9795041658909f8df88eb75a89fd727866a25bd0e8a3106a497776c1be8e53274d85302d9185f9bb95b777efd89fed3f5a33edfe04fa1 SHA512 f31e15bf46fa4338418507840ac3961c06f3573502a71892a262bf24bfc38b4058888cccef1abc6e59859a9985f917c4463e698a1a92543519a8da3ff6221a67 |
22 |
DIST boto3-1.26.16.gh.tar.gz 565753 BLAKE2B 7b30f4a3e15ca893cacca7ea58e18d654f3895e37b36e08e632b4da5a3e4b7225ad864daf60604b074973f90b38ca71afb3d28ed8f90172e78193ef9a1f626c0 SHA512 54d3a3bd551cd2018070144b956d5f5af8c84fb6c689647a39b42f03ea1f1fce3c1032d9c694851977aa498950011f28b7014d5e8c4091c2f771b2d2cb1c2714 |
23 |
DIST boto3-1.26.18.gh.tar.gz 570818 BLAKE2B 2f77acbb6fa77c867cda0b1d7828c5aafdfc8b6e5d7cced4beda08f151c9ed889356ec32b4b0ad2724bffbaa20690f149caf69f89dfbf70761ca354893685cb7 SHA512 b67d62057c7c421eedbf8778c2bd10d9cad9a81678dfc68415cb5ca546182c418d1c8a6619d20be066d78891af7720ec29209fecd27628e1d456b04965edfb83 |
24 |
+DIST boto3-1.26.20.gh.tar.gz 572957 BLAKE2B 27286beaeabc0227376640fd3ee583656470ee324805ac716411a6c87fc2f301f6430c4f82e58c4a5371fe38a4cb3a6cebe32de39c0bae35f051fd340257c315 SHA512 4623e29b4396cd131e76ad44d24e32014e9f79642db471f64b5b06553ffbd0a0492883188e3658fe629e6af0a91b8274dbda3103a3ecf6d2dd6fe5b1a91b9503 |
25 |
DIST boto3-1.26.8.gh.tar.gz 557012 BLAKE2B 211bb7441acc8b1f901ebf5251288dc7c9073fa6e34f5a34426424ef064efb0fb3031deaf48ef336ec43bb015f95f618598da43d12ec83cbf814e1b4097b28a0 SHA512 738190cedfb0b85d3a1e9558b03e7f2fb14e43b152bc9627fd95c8ecc4a0ddc17f4c87ccb6129c1fbf5f47db9eea4dbc5c2cfbb69b903bc6f3ff417ef86b6f6b |
26 |
|
27 |
diff --git a/dev-python/boto3/boto3-1.26.20.ebuild b/dev-python/boto3/boto3-1.26.20.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..6edcc751d54b |
30 |
--- /dev/null |
31 |
+++ b/dev-python/boto3/boto3-1.26.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 |
+} |