dev-python/boto3: Bump to 1.40.59

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-25 06:43:50 +02:00
parent 1b448c6e16
commit 0c059c8023
2 changed files with 54 additions and 0 deletions

View File

@@ -14,3 +14,4 @@ DIST boto3-1.40.55.gh.tar.gz 1013401 BLAKE2B 86de575af2244a1b6ec317dac61a71ba2b5
DIST boto3-1.40.56.gh.tar.gz 1013934 BLAKE2B 6d98605fd3fcdce094c2fdd9179ea5113cc3d1e159d0f46bc2751ae0799403789a995abdf27ce3c87d4870019d038d9a83317375ed2fb23e7a537403fc104633 SHA512 88b3799ab915fc057ca19279286940f705efeba5a891988bbf6da962e1743b5298f60ef2db6c0a319b75599b3503c0b48beb0dbb6381e6ab430c35b5730c451e
DIST boto3-1.40.57.gh.tar.gz 1015273 BLAKE2B 78b43760c673313e52e6c1b6211f7e66c48ac0135dfdebd7e1cd9221f53865185b284c9491dd6930c70e76b30c246a95a5c9584941ac55009d94042af84e61d0 SHA512 1107f9d2586092530e3dc07a88f8941a452110f9db821995749385ea0acd06f5e17f03eccf57bb1d5e50b23f38758b1d6467ea26e9e70c2feff6d3a017936e98
DIST boto3-1.40.58.gh.tar.gz 1016397 BLAKE2B 4e9cf356137c43c70a8e0a6d32fdce1fa09c6c31344c2cb502c738c8050e7b2c4dfbe61f7024d669b1cd999297af16cb38a524ea23e48a2d573614494d73fd95 SHA512 d0c450f3bcbc4c62c0df76434ab66d2e4091e0e0b00e9828626c19935475ce3b5fd88112529513cffdc4f851e8d5abe4f39928e20707fda3d3b19748f8b78872
DIST boto3-1.40.59.gh.tar.gz 1017517 BLAKE2B 31511c062e6991ba14b7bc7227f4b4a214da5bc6dd012139cebaeb53a34ad540a80b5216495b2796d34f6ad91fc135837c830d9151fb34aba15d6d1c552c415d SHA512 90cc90f03e743c57ddc195a2ff10282d3c99851b54cd475da95bb3eb120449b0c0aa59d920baf206142e151eba0250aad5fa9c1a6c1be9e550ea1be5b69f8566

View File

@@ -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}
}