commit: 6e3d33c8f680f0a54d0def6f24a2fdb5668709e3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 22 04:25:27 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 22 05:38:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3d33c8
dev-python/boto3: Bump to 1.34.47
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.34.47.ebuild | 58 +++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index b8910c31caf1..c9d1beb33167 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.34.39.gh.tar.gz 773491 BLAKE2B
69256649eb3bc5a856adffe4fb1e0e3f1e14
DIST boto3-1.34.44.gh.tar.gz 775883 BLAKE2B
97648819e48af3bbdec76ca47f5532cf9f0a99845f90515cbc7bec02bd5cc04ed5cc842b55cd589a8fb1cd8852edf4d12d3e8a23320e23fd4c5920854ef588d3
SHA512
310689dd7fc3a08c3a8ed6e223381870f028ee07354f74654abafc893f8230fee82bcd136c9e04a675a06bad496458f6778e6d571e75f6541130b3e06cdf324a
DIST boto3-1.34.45.gh.tar.gz 776142 BLAKE2B
0fc27d192ab356e4dad6faaf6ed33d32b728efdbfdb4b662db1269de8eaac7b8f966b45167eb29c4f94abacfe01173f71eb792df2dea9f03d10df6e7d7753406
SHA512
ddfdd97643dbdf139783c03625b8d4d652a4d83c485a1c1cdba9b09fc214f8ff5ed75f51b5498449ec3c69f69c92127ad6ca79a8db8e951e528d6cabe3d57ada
DIST boto3-1.34.46.gh.tar.gz 776383 BLAKE2B
94fcc2899d6d8a02acdf4e293dd9ad7f29b03be88ad40714e295eae9c0d34fe9d063b7ad186787755d87e127ef4f693a7c02a3f6c0cd31f45cad1cd0ffea216e
SHA512
24882634ea2b5c8ee5d7b50b5ea8543fc74dd853524fd70c3897feebe45c99f26f6244de512b5a857ac07062db1d3ea4249198778dfb13799fdf4ef223793aca
+DIST boto3-1.34.47.gh.tar.gz 776642 BLAKE2B
c9c315b43e09f0fcdff3e50ea7c4b1f7d501ca6855d3e7f581a4fa2ad49f78237e98f9696d174a4163c94105a09c83a29021a9ce294e1a9a2eeb33f150d6711a
SHA512
3c84d2f26567389f76cdf7802a310991ddbce71d5a17bef41d85cdbf254ab95ba921472b573cfb8cf087af401ec0b9c8a51b52065adea174926df01ea7fe116d
diff --git a/dev-python/boto3/boto3-1.34.47.ebuild
b/dev-python/boto3/boto3-1.34.47.ebuild
new file mode 100644
index 000000000000..b64e7191fd19
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.47.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="The AWS SDK for Python"
+HOMEPAGE="
+ https://github.com/boto/boto3/
+ https://pypi.org/project/boto3/
+"
+SRC_URI="
+ https://github.com/boto/boto3/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux
~x86-linux"
+
+RDEPEND="
+ >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # don't lock versions to narrow ranges
+ sed -e '/botocore/ d' \
+ -e '/jmespath/ d' \
+ -e '/s3transfer/ d' \
+ -i setup.py || die
+
+ # do not rely on bundled deps in botocore (sic!)
+ find -name '*.py' -exec sed -i \
+ -e 's:from botocore[.]vendored import:import:' \
+ -e 's:from botocore[.]vendored[.]:from :' \
+ {} + || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit}
+}