dev-python/botocore: Bump to 1.40.31

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-09-16 06:40:10 +02:00
parent 4fabcc99c3
commit 0a5c7876d6
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 68 additions and 0 deletions

View File

@ -6,4 +6,5 @@ DIST botocore-1.40.27.gh.tar.gz 15132721 BLAKE2B 96366b67c65297f1df036cde60cbd19
DIST botocore-1.40.28.gh.tar.gz 15138164 BLAKE2B 28b19faf101189f630245898fa974e71f75169e1982f75b38e2e032160f0a75d7283b1e2a6f54d7aff2e7b7789c7df881c64f4aea9700c682335aa60dd5b55d4 SHA512 bbaca59d13755c766f47bbe15e97df36b740eac0d0ffed9db1e10dec4caf0aea1dbaaadd54f2e3be12e0927ab7d68bb2f1f8b512fb4282f61454f9baa7cd0cf2
DIST botocore-1.40.29.gh.tar.gz 15142338 BLAKE2B 8fc0ae4147930434e9faa9c4d1ae3738951c737f972522f912163394a3300277f4305eaf94e3d3ac4004c23cb3136a85da3ee95f4df4993e0e69e5b465e06e2a SHA512 35a013c610c09eeddd4a0c47c7be66531f4ef5398904e1c5959a428809b4a6f848905d0374aa5657808c6e2f660f0eaf56d847ffe3fd660b737afd12a2ea2a24
DIST botocore-1.40.30.gh.tar.gz 15142090 BLAKE2B 9293ad264156c749fbbc4b1a0a59c7a6616137ca67ff165d432fe915dab2c146213cc52d1bb1751d1ff63726a8e7253f32fb24b388d62fdbeda22751331dfe36 SHA512 32a8ef2cc393ee6509483388f1d31a0c27f96e1105fc42929abc37b21bd065875a035cda6de6e041acb3bdca04a7f9b1e4b88be7dfc88e8fe55d3843cdba20c8
DIST botocore-1.40.31.gh.tar.gz 15136672 BLAKE2B 9a7864ddb0939bdf84927f34369fff00e54ad52fa1ccb5923410d62c210dde6ad46bf781447af2b8e575bb94be3d24f856769f5a29c822e0380cb39164f12d01 SHA512 03cd332c33515f4b0354ce22a82287893dddda37a93ae0e1c51c7eef9bfacfeb45acd32ffbfe902fbe1c2a66621100a8cf6e6b82ce580f90cb13e3ef261ff36f
DIST botocore-1.40.6.gh.tar.gz 15096678 BLAKE2B fb76ace4058c814bb8ef17bb216f5f7355eec401e4108d8a6569e07f97b14becb9e99652364dacb7e46e62f3ffaea2e5e1cd241ae832fe0a359ed58bbcfe3500 SHA512 faa311f29da484083f49a9ae7beda844b8878750c7474916ff7200b4a5fdc01e26295923c7a0f0bc4e4b1c22e5381f69546b8685fdeb2112f1c61810d3c9b58d

View File

@ -0,0 +1,67 @@
# 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="Low-level, data-driven core of boto 3"
HOMEPAGE="
https://github.com/boto/botocore/
https://pypi.org/project/botocore/
"
SRC_URI="
https://github.com/boto/botocore/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/jmespath-2[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
"
# unbundled packages
RDEPEND+="
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/jsonschema[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
# unpin deps
sed -i -e "s:>=.*':':" setup.py || die
# unbundle deps
rm -r botocore/vendored || die
find -name '*.py' -exec sed -i \
-e 's:from botocore[.]vendored import:import:' \
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die
distutils-r1_src_prepare
}
python_test() {
local EPYTEST_DESELECT=(
# rely on bundled six
tests/functional/test_six_imports.py::test_no_bare_six_imports
tests/functional/test_six_threading.py::test_six_thread_safety
)
epytest tests/{functional,unit}
}