1 |
commit: b3150fed9ea01312cda2dd31b3f509b1a581daf8 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 5 05:53:18 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 5 06:30:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3150fed |
7 |
|
8 |
dev-python/boto3: add 1.24.46 |
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.46.ebuild | 68 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index 33908360097a..7143052ec5ac 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -6,3 +6,4 @@ DIST boto3-1.24.42.gh.tar.gz 523969 BLAKE2B f8f802975f05246da85d5c1feafed0fbf612 |
21 |
DIST boto3-1.24.43.gh.tar.gz 524913 BLAKE2B f3a04f7ddd2b9b4cb9ca0c12a1306797d8bd96a459049f5fa0cf504a4d48afd5d83ec72f8c7bd6c5b3255bfe0d7ca0948c44c7a963c20773c4b04564167b6007 SHA512 b69eff403ffa4ebabf724168b664078d4e77f79f259f3bb2fbc7403067d5c0b7ad2fd067b6cd6227ce7289a25b16afd7a4ba219a18c2c616f3a266b2fcbe693d |
22 |
DIST boto3-1.24.44.gh.tar.gz 525172 BLAKE2B 4fa8156a119f66bbbee29610daf6e8c6c946e1ce31d2058945f22116523cb21b9ee924b2b013fd212c93fde6c2626cf7363025a8f5547717db37f884a407b7b6 SHA512 0db4e2f664bb123a4aa5ff57165d5fc70650f8a73fd1014eb760971d8df0c02d7dddec10a4bd677dd917f38c4c8be448343aa48ade964b3168a4054c7b8bd7b2 |
23 |
DIST boto3-1.24.45.gh.tar.gz 524634 BLAKE2B 5b8b38efe86b30084e2071061de24744cb255cdf10ad00d872e6bcf476885f41d05f2dcbe0918fe4afbc167fde6a434782539b75fda897eaa5ebe3f33be93adb SHA512 1a89d0034a9dd987d79456f3e1baa1c26a0269f93f3fe8577c2e76a78c556e2bfde59f06bd35e8735466df3d82ce2123bf95f3291f07f6b520c7a0ad4b126fca |
24 |
+DIST boto3-1.24.46.gh.tar.gz 524945 BLAKE2B f26235fb6993a9dd09fca562315c8ec7003f122fe63851eb7e9db47519b311557665998ba61dafbebcec825ff0b5ff55d329dfd41523b90a387bf590e6205eda SHA512 922423beac0f7ecefb44c474ba8a928f3faec0adc945fd06958c9ffdad612bbb3d0be9dbb68249bcb6cd12446f858c208346808239f37153e6631defb74189bf |
25 |
|
26 |
diff --git a/dev-python/boto3/boto3-1.24.46.ebuild b/dev-python/boto3/boto3-1.24.46.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..6edcc751d54b |
29 |
--- /dev/null |
30 |
+++ b/dev-python/boto3/boto3-1.24.46.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 |
+} |