commit:     e83620e08886f82069e495f402cc2057a8f8ec4d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 31 06:24:12 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 31 08:11:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e83620e0

dev-python/boto3: Bump to 1.40.63

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 93ea32b9f315..8b427b84cc25 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -7,3 +7,4 @@ DIST boto3-1.40.59.gh.tar.gz 1017517 BLAKE2B 
31511c062e6991ba14b7bc7227f4b4a214d
 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
+DIST boto3-1.40.63.gh.tar.gz 1022454 BLAKE2B 
81cf0f880a2bf5c8faf8072d49216b2bb11fc2ed49f38b1af7f019e7bce84ba322189b2f6a58b0259401aa15df5bb6269a43f4c11b4035e1e5072a7980cbdb98
 SHA512 
863209f8c70652840d6b264de9ffca6c4ffee809dffe43837f610dc58824a1d2eb39360eb3071718454f9fdf6fe44ddf31cd6d4896a672a27c7f847ba6d3edda

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