commit: 953844bfdc6b2fd46015b4c139ae0cb2b73c2f86
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 1 02:20:42 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 1 02:51:50 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953844bf
dev-python/boto3: Bump to 1.40.42
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.40.42.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 53e7330787f4..cf37467cf94b 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -14,3 +14,4 @@ DIST boto3-1.40.38.gh.tar.gz 1002682 BLAKE2B
079377e6d6d5fb0f4622b9a8023fecce859
DIST boto3-1.40.39.gh.tar.gz 1002988 BLAKE2B
944ac6019c461af48526851d526cc397bd300b8e396d5935828564ed2be483971a132b29325d171d82f3bf89c22347dc1ac5ec0f0fb7ba5d4057ccc22a523990
SHA512
ca48b1e4115b55a3309636fc7d3dcea8e59a5705775455513ea74acfb958dc7d770f908d0c7c2bbbc04f6661085cfd15dbf9ef9c4d94c4ad7dc690ed5d680ac5
DIST boto3-1.40.40.gh.tar.gz 1003705 BLAKE2B
b7a555bb3ce92d01a14f3bc43a689452ed7f1cdef7e8f165ed4ee9b5625ab8c064c4ba541c67f301d938d6a3886301f1c563c0f77a72bae19c88ff60f35fdcfa
SHA512
47172d50ce7203abb5e85e7e66da93e388a6f28a244fe0e654f619dee5388961d080ff04ff7126c09bc52af7c3f03cd4c334fc757bc63fbfb2572cab668b7b26
DIST boto3-1.40.41.gh.tar.gz 1004100 BLAKE2B
5962a2a77f20535580cdc8efb6cf6eb7004b0903879dd2ff554cc6f48541cf132e80a3e1c001ad364f9e38855cbadae52b6b39a8e33363ee0cc6b2c13485de2a
SHA512
c80f6f83b63bd593113c99f2f1a8b86de734722306304ce4a4cc9a40610c2bcc274c17ee0246a550127d8a2503367bf961b2469bdd0e39c90db5c539dba04158
+DIST boto3-1.40.42.gh.tar.gz 1005633 BLAKE2B
a247bd55488854a6b5796385cb185e66dce964a98ab1eec2d244b43802cffbe00cf331efbe3c498c0f5999299870bc10158b98979747593eea8ca47581bb1afd
SHA512
a6673cdf916cce47429fecf9d5462670ee2140b89838c815be74a5c2806f09dc6fd788dc3e14136f5bd6e9c0e4f0c8663e7cf93152a898340b023a51bc39c4f4
diff --git a/dev-python/boto3/boto3-1.40.42.ebuild
b/dev-python/boto3/boto3-1.40.42.ebuild
new file mode 100644
index 000000000000..90fb2a42e6e5
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.42.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_{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
~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.14.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}
+}