1 |
commit: fc24ca955c52849c55122d3f3b6af92b694c60c2 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 17:38:17 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 18:20:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc24ca95 |
7 |
|
8 |
dev-python/boto3: add 1.24.42 |
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.42.ebuild | 68 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 255086029a68..845b56dd5b01 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST boto3-1.24.26.gh.tar.gz 515531 BLAKE2B 34f99c4dd224731e07c2f0b175d6d172661c |
21 |
DIST boto3-1.24.31.gh.tar.gz 519387 BLAKE2B 8581d1018f0e1f0802779851edb52fdb6860c44bf46e6315eddd3b603cb65a0763707686286aa06447e90df6c8e6cae3de0e6bae8a9836ad90e5a3f4335797bf SHA512 370773f2365f4dcc7b73d0828bc84f0de5c15b189d23b799738c2358b1b0119e5e457f26529b7a6c90d637c2142121a2874d088671715c8deb4b793afbf7fd38 |
22 |
DIST boto3-1.24.36.gh.tar.gz 522156 BLAKE2B b76cb50f01ff85c960a0984f950e72f02ac6e85131fd344142b886a3c745cb8b9073f865527911b88c462912413fce6df4066752ab5eec8ad1561d349ad22437 SHA512 fe00e78cc522248c449f83f869bb7d76793db9aa436259e74d0aa25984a02876191a7df41b1ad7658b06e418f248ad616743698c87a5c9696f77a196a53c561e |
23 |
DIST boto3-1.24.41.gh.tar.gz 523844 BLAKE2B 0cff30d6aba5e8eddb8f545737e22a146ef9a3c33df2ad5b4f6d0ef8fd67cb46183eb7fa21e8a961d2597df8d965478bcb0038f5dda117611bcfe15f0de26eac SHA512 ad3a6035352c54f7ba0197357a5a4e001c8fe7548121a9a3931acb69f9c098feb8da1d1699ac98d3ff00626f39082753434f1c992351a82cf269ce2c6a4eab06 |
24 |
+DIST boto3-1.24.42.gh.tar.gz 523969 BLAKE2B f8f802975f05246da85d5c1feafed0fbf612f5f67cb533178e189b1abc4edd9352dad5b0af44543d406dc405e7f18bf9792675e6b328c03c5ab0e5d55647289e SHA512 d0d102851d016cb4ae3db70c84005905495ba64142f79760fa2b477e6d0d6ea1f25062200fa5c42f685b07e5af3ef549562ef247a573c727ac8d341921bf4266 |
25 |
|
26 |
diff --git a/dev-python/boto3/boto3-1.24.42.ebuild b/dev-python/boto3/boto3-1.24.42.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..6edcc751d54b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/boto3/boto3-1.24.42.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 |
+} |