commit: 27528a239b12661c8af2036a5978438e2446d269
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 3 06:07:51 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 3 07:27:12 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27528a23
dev-python/boto3: Bump to 1.42.40
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.42.40.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index afe7a0be27d4..b767bdadc980 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -7,3 +7,4 @@ DIST boto3-1.42.36.gh.tar.gz 1077182 BLAKE2B
9d0acfb4dfb5f24ff1a132e5c01fa5fff70
DIST boto3-1.42.37.gh.tar.gz 1078283 BLAKE2B
0feeb879ee4a7d5ac012a9511ef4447344573b333859f6c43b1972f39f076041404541b9023f2b52c063027f9cd961f06da4831448590490b8b24196998e6f22
SHA512
f11b858b1286a3f5202f9c3afabdb6f1ecbc5d6a831b9ad2d93d081291a6701511e0e105a908047496bb144b29ee2394a9b64e5eaa533be5ec3b8907318ca1b6
DIST boto3-1.42.38.gh.tar.gz 1078731 BLAKE2B
59dd62ec0231ead44887989a118722d8d12dc022d61ef26fa347db40fd06a818793d43e1e97268be36310841e697ad47de67168811ce46644725bf567b8af50f
SHA512
08257d9e7aebbb8b73f5c94212b32834b1eeed28111a699aa8cd8316201af800bda7d5a20338e8569cdd91b0acc1af0f39b049cd65fa29596a373a20d9335528
DIST boto3-1.42.39.gh.tar.gz 1078948 BLAKE2B
15a852156234ae0ac04c7ff2d47bfb0da973835be2fa37f94db9ae3f865e1b53b8a1683ca69c61b8dd0165062b3e1e0e39c796e2b9b3ca1c16d20d2b3bce5ffc
SHA512
1a15924d9d5db384bf98e75b104417f56900ca2a053215a2d14c96b5fe03f5cf5a4c1ccbdc36d3c3fdec6a39089b556134234572ba462b01b9c6433309bd9f85
+DIST boto3-1.42.40.gh.tar.gz 1079283 BLAKE2B
6b1410a6c23054f72cb666fa15444012e87b42a893869648e5a7ef0af4b73d5be587e5a0a6375f358e28da759a6a8e172d7c3b33491fcad93cd32758ea78dd69
SHA512
160e8afaf36daad370a635ed585ef85ed956d14e69845a63344718dca01b9e3f5a67c0e9c9fe189556bc8ee85276b6d0db15bbc6896ac2dc73cde18ec9a63b92
diff --git a/dev-python/boto3/boto3-1.42.40.ebuild
b/dev-python/boto3/boto3-1.42.40.ebuild
new file mode 100644
index 000000000000..019ca75e6b75
--- /dev/null
+++ b/dev-python/boto3/boto3-1.42.40.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+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"
+
+RDEPEND="
+ >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+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() {
+ epytest tests/{functional,unit}
+}