commit: a59e2b6620a8effb4c5271be6cd9a4ae375e6604
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 29 05:01:04 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 29 05:01:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a59e2b66
dev-python/boto3: Bump to 1.37.23
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.37.23.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index c068edd7d4c0..2cad6a9eca26 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,4 +4,5 @@ DIST boto3-1.37.19.gh.tar.gz 917195 BLAKE2B
e927a0742f4b73a35749f2fc6e7eb4e96b61
DIST boto3-1.37.20.gh.tar.gz 917858 BLAKE2B
3325088a4689fe764bc7dd4eb68afccf7e05a1b29152c5dc28224ad132e2eadfbd5af2545fb9e456e26e5396aff40ec9ee00e35382618b3fdf14da5fa91f2273
SHA512
4b271e2caa15effe0e3f17161b601fdfa0e29e89d219c21fe3116c35ef485344eff4a944374d4aed2ee557ca3e5d55e0317c2a013205cfa095fb46b19adfc976
DIST boto3-1.37.21.gh.tar.gz 918526 BLAKE2B
eb7ed9411680d46c02050a6dda80dff932023a23d56207527e5de1063c1d76bebd11f559b8ba34ce5d490799024f827a2bf4041a2629eab9780b18f6e7dbd882
SHA512
7de17ab58434a07f2ab43c29876fd34a2d413aaedc03369dcaff98ec436e460881e0405285516a77b113ae437698c3d4971c9b129ba5801e5636abd26a2db05b
DIST boto3-1.37.22.gh.tar.gz 919362 BLAKE2B
f36e850e4b7089325f32c41ef1d60373fbdfbf35d1d56b9236f8eae10e665474d5612c3567e58a28ef5f9164c31286b5cd86ecb9b545e34e63dd4a7119203f0e
SHA512
829f7b6446746efc688828e5c6264b380f5e550b9bad85c4a572c56b4030766a049ace67f0d979f0afe1dca01cbbb9174d1e60fe9d24e8179a1c699d0ab42936
+DIST boto3-1.37.23.gh.tar.gz 920294 BLAKE2B
c1bfcb5dd8c883c122b530ac2756c77884d74a43caeaeaded4e7f26bf9fbe829c7b4d70968b19e2561b4ed495c8e05e141ae365fcff7fa10159ff0c04dcc1f3e
SHA512
b2fb0b4730e32ec881e933eeb6e57ce5dcffe9cfe5f586a15e5a9abea5d3a515d5db0c66058af3c0c8c206472fdfef80b74b750bd024718078ec9a5a94b01e29
DIST boto3-1.37.9.gh.tar.gz 911836 BLAKE2B
d190525b9c5e39b445042aba6d8e57da5e49165775901ceebe44b76fd2780ec85a2f5a8a08d3a9a5e451d42bbae19b679e565a7a9acc663258ea0b7909a9a798
SHA512
12cba48d5f2c158b372eaf4e44903e22ca963e5712c3c463fbfd20626a771efe30530852b6c9ab70132a26472ff1b4656095675a5de37524f6b489c25175f8fe
diff --git a/dev-python/boto3/boto3-1.37.23.ebuild
b/dev-python/boto3/boto3-1.37.23.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.37.23.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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 ~loong ~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.11.0[${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}
+}