commit: a5a4d128bf9981a7754f62de4f79383ea18f56ae
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 11 03:54:43 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 11 03:54:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a4d128
dev-python/boto3: Bump to 1.37.32
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.37.32.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 27210848c093..18831c3a5f44 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.37.28.gh.tar.gz 922848 BLAKE2B
134a4054d1142de5f63198f6fd97eef3dc5f
DIST boto3-1.37.29.gh.tar.gz 923479 BLAKE2B
ab940851062f611e3a3011e908c28c7cd3129020cec11272b85613b0c135af1a9df6e171b4a1c3ed4f0c4015512da8b00a3f8430bff38ba89c6030dcddd6adff
SHA512
d2dbb36e0e375084a1022ae1dc8fb89601c625edd4f780ab01a1d137377752ea28f691a1e774077ad2585b0df119f4e29c9f74ea43c9e63ca4bebc95387f0b7b
DIST boto3-1.37.30.gh.tar.gz 924249 BLAKE2B
54fa0f7a3f2a926345aaaaf1bdf9610b4ea8b5745eb64adf10b863b00b587e91fb987d7047fe4b62d66815c907ab01198d364506c9c0b72ab097c53c3f4053af
SHA512
d50188a48f0257f89a2884b3f4f5e2d6b06a9af692119e09b0846b9b3d53d40cf11a15045edf267d1faed3cf59a5cb5274f7e253451ce129b64562fd89bba0f6
DIST boto3-1.37.31.gh.tar.gz 925896 BLAKE2B
999eb64d1910092cad350e95cc6ffc3da971794c6acd4ed093142a64a6aa66a98de4a3bfa63810479948990dc9c3ff90c91f88df215897be62e492f2daeb47db
SHA512
69471906f22b5fd760a9c6c96a508b06620ffb3fdeb0b4a7d5ea952f3e835dcfba6fa5ce697b9756a8202ceeb6ec52f5f4c74a2f3d1d43ab5ba4c2da5c76ebfb
+DIST boto3-1.37.32.gh.tar.gz 926774 BLAKE2B
28d3042fce2d5e3414a10d2238b692d876296fe5642b5367adfdf37a1eada5664bb75838c658b42b356648d60cc2a1bcb8b157a81a1d6d6d6537ff0b9dc8083b
SHA512
06f7b1a4ec9ce150d4ad34738ea5e8517ba99fb14ddbe354de653e39814b03cf68833f69b1f2c5acf814461b7e3f660c35be0714db38fb5cc63b9cda7d27511a
diff --git a/dev-python/boto3/boto3-1.37.32.ebuild
b/dev-python/boto3/boto3-1.37.32.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.37.32.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}
+}