commit:     891bc7ec7c384830d5d25ad134df65c3dee21cb4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 30 05:31:42 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 30 06:44:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891bc7ec

dev-python/boto3: Bump to 1.40.62

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 65f701a36752..93ea32b9f315 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -6,3 +6,4 @@ DIST boto3-1.40.55.gh.tar.gz 1013401 BLAKE2B 
86de575af2244a1b6ec317dac61a71ba2b5
 DIST boto3-1.40.59.gh.tar.gz 1017517 BLAKE2B 
31511c062e6991ba14b7bc7227f4b4a214da5bc6dd012139cebaeb53a34ad540a80b5216495b2796d34f6ad91fc135837c830d9151fb34aba15d6d1c552c415d
 SHA512 
90cc90f03e743c57ddc195a2ff10282d3c99851b54cd475da95bb3eb120449b0c0aa59d920baf206142e151eba0250aad5fa9c1a6c1be9e550ea1be5b69f8566
 DIST boto3-1.40.60.gh.tar.gz 1018793 BLAKE2B 
ca54b65452be655415525c6cc69bc062b2064121ddaffd24c8c731f9a92832cb5c8c9f485c4ee99efcaf8a382d6c050eb8ce3fffb87be808b906bc5b017744f9
 SHA512 
723930c064cad326a8b7ad07ba898a58a25da8bb49bb70e4b01f0af76c4a309ccf741c379eb52c0067a8867f960587f3c2fef74a3101039abbb33d5486841c91
 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

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