commit: 3d9bc19cb61594db112bfe6b6020121fc18ed304
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 12 04:10:40 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 12 04:10:40 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9bc19c
dev-python/boto3: Bump to 1.37.33
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.37.33.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 18831c3a5f44..abe2a08af22e 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -5,3 +5,4 @@ DIST boto3-1.37.29.gh.tar.gz 923479 BLAKE2B
ab940851062f611e3a3011e908c28c7cd312
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
+DIST boto3-1.37.33.gh.tar.gz 927758 BLAKE2B
ed246a9e8966bfb51a3ef567461a5ec6103cb7e710799db908b5c5e790c09b765a1b977f8b1a0b4f65ecc013178afe1c8e0b03729e1c4ae9f20a22a21e248267
SHA512
373b5eb1340c7da82b3d4e493f63e4b9e4b80fa4fe3a215961ea8c793382efca83de9b3c744456de572c9b6bb7bbb73cffdbc7d892d501da3213ed9073ae2264
diff --git a/dev-python/boto3/boto3-1.37.33.ebuild
b/dev-python/boto3/boto3-1.37.33.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.37.33.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}
+}