commit:     1dd226f34ccc51c60101aeec5d23dbf6d10baecd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 30 04:42:42 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 30 05:58:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd226f3

dev-python/boto3: Bump to 1.40.41

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.40.41.ebuild | 53 +++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 7bf932417a7e..53e7330787f4 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -13,3 +13,4 @@ DIST boto3-1.40.37.gh.tar.gz 1002433 BLAKE2B 
1455b91f685be5a50daa48de432998ad77e
 DIST boto3-1.40.38.gh.tar.gz 1002682 BLAKE2B 
079377e6d6d5fb0f4622b9a8023fecce859cb4ee6fa4d971e32b4f41113ac0d170a4a511c781e8361d5be7ef677db207914620f228eff571a090fcb26e46092d
 SHA512 
b63d594175a2d68a6d9e86bb59094360827ff312e9b31b88d64fc385fa4571dcff03de35ec725280881862e9a53637de6fb2c80450e8831da464b73de9206a67
 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

diff --git a/dev-python/boto3/boto3-1.40.41.ebuild 
b/dev-python/boto3/boto3-1.40.41.ebuild
new file mode 100644
index 000000000000..90fb2a42e6e5
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.41.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}
+}

Reply via email to