1 |
commit: d1163ae4f455ce81e03da6d434ffd953695d0c1d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 31 05:38:48 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 31 05:38:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1163ae4 |
7 |
|
8 |
dev-python/boto3: Bump to 1.26.41 |
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.41.ebuild | 68 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest |
17 |
index d14cc3c51825..ee336fa48eef 100644 |
18 |
--- a/dev-python/boto3/Manifest |
19 |
+++ b/dev-python/boto3/Manifest |
20 |
@@ -9,3 +9,4 @@ DIST boto3-1.26.37.gh.tar.gz 584822 BLAKE2B 08c08502f3defee6365aa19a55cb5bb6c006 |
21 |
DIST boto3-1.26.38.gh.tar.gz 585100 BLAKE2B 22bbaad5e5ba59c29300ac1331e570b763d7544c9feddff307b2eba3e3da9076c6d64ed189d115ff63fd2deb156f6edd2a767121489c5d02e9ee0b897cb39712 SHA512 f97bd9cffd6d4c4d03841038940edb592962b72a3595e9255fc0af491aee1eb1742e819861c8f207383062f6ec284f8ecc37e9a30c59eb1e7702066b4a7c988f |
22 |
DIST boto3-1.26.39.gh.tar.gz 585471 BLAKE2B acf5631bccdc96f540bdd9396084f09d0b3d070f6b0d3a85267eeb54b1c1b1e5e38b662114dd8a52fb839f168f6d5694647a87559c389f4acbc23ee6bc0dd38d SHA512 d795dd9a553932d75317cf0f528757be201e6655e088499733318068fd8d15bb04dc67d370b1d5160b46eb3fc4ed489dc66181ac12e2d91c0b3a3c86043abdd0 |
23 |
DIST boto3-1.26.40.gh.tar.gz 585787 BLAKE2B b738ffbae9d03b3f1d87dbdd0296007f69b7665e5aafa63c986205dc0bf77e1fab60e6079845a7a2419a81bfbc681c5a48d7557be348532df13b09284c417dba SHA512 b86f3109a55c244e231e00bc9d098da0a797f0d88cc9b033e39decc49c5288d437d26db7ee403cbbc48f3e66d3646117824167f5eed4629d315686da24b6511b |
24 |
+DIST boto3-1.26.41.gh.tar.gz 586086 BLAKE2B 8f5fac4e26a8ff34e91ee99ab4f93b6c31174cea7fdb1a7e98c942601324fd4128b4609fb1b28d7daf4139dfc1e0fc75760d64693f33e225cc4180c83867aebb SHA512 d87db9db58315de796750d478d6488815cd37307693305d2c6fd0e5f1d04aef51190fa438d942412def7d0075ebb23d440508415459bd9dda83302d29e7cc646 |
25 |
|
26 |
diff --git a/dev-python/boto3/boto3-1.26.41.ebuild b/dev-python/boto3/boto3-1.26.41.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..aa8071e64d5e |
29 |
--- /dev/null |
30 |
+++ b/dev-python/boto3/boto3-1.26.41.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_{10..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 |
+} |