commit:     5a34325792e7894d348d2ab92c5be2430e0451ba
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  1 05:16:45 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  1 05:16:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a343257

dev-python/boto3: Bump to 1.40.64

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 8b427b84cc25..5d7af03683d2 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -8,3 +8,4 @@ DIST boto3-1.40.60.gh.tar.gz 1018793 BLAKE2B 
ca54b65452be655415525c6cc69bc062b20
 DIST boto3-1.40.61.gh.tar.gz 1020563 BLAKE2B 
e42efb7d4e7551b5d69ae73cb2e08c7def71703b3307e1e40a796c298b0be3d6b5a029cc97ea352f88c03595974b14624794b3fb039afc1b875cc523305fec19
 SHA512 
5ac214315f125bf4f699010ad9d3b8db18f4a5fbe19f18cd26966de54a0f631f0781a8b79a7dd65968a8467e6b88b3d7b9d818692e629e3343df0b54a49147ca
 DIST boto3-1.40.62.gh.tar.gz 1020680 BLAKE2B 
5a3460f1d2d9fed9f21216c9d6e0e2a1ad869de2f557f0236f8ac563b05d873eae928f146f46aa0dc7dc4e1d83bee170a5e9d595ba75ecefb5f860690d76b3d0
 SHA512 
09704614522a5c26e01e29aaf956ab6f44f4b9b42bfed935054d717e1b0fadcd502c9fc3a67a3f2e8e81688d2199d6ea9877e36d3e815590ed374a1aeda28ebe
 DIST boto3-1.40.63.gh.tar.gz 1022454 BLAKE2B 
81cf0f880a2bf5c8faf8072d49216b2bb11fc2ed49f38b1af7f019e7bce84ba322189b2f6a58b0259401aa15df5bb6269a43f4c11b4035e1e5072a7980cbdb98
 SHA512 
863209f8c70652840d6b264de9ffca6c4ffee809dffe43837f610dc58824a1d2eb39360eb3071718454f9fdf6fe44ddf31cd6d4896a672a27c7f847ba6d3edda
+DIST boto3-1.40.64.gh.tar.gz 1023920 BLAKE2B 
ca8af519caa4d3d4a20c808b3b9d263ad4d684327c29513d9fd37fc820f2d38c6a6450d6450d9a5355bdf4182e875a01939d69546821b00594b51b985fec31b5
 SHA512 
58010e4fbca89978aee5703e6e39ffe6116b31c1afb409335937de07e447e9027eea9523ac04e059c12cbf46b84ce88583b49356457978dc8d8491688fc2034d

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