dev-python/botocore: Bump to 1.40.45

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-04 07:04:14 +02:00
parent a59de52269
commit 136ff30cf5
2 changed files with 68 additions and 0 deletions

View File

@@ -17,3 +17,4 @@ DIST botocore-1.40.41.gh.tar.gz 15164168 BLAKE2B 6e566392943e927d3b22f6dd44462d5
DIST botocore-1.40.42.gh.tar.gz 15185422 BLAKE2B a9f080f72a1476b09a2874241cddaaf2c287e717bb870716bea813417ab578d0458ac5d920214fd7fb7a2a8d428a7e6469aecaa1f78f6eebd4824328f1e7063a SHA512 b39b60bddc61aa8b4f4e461122c961dba5447a429f8a95640db4356817f060feb088f4c1523315ffa156969aff61c55f25fbe53257c20f4f1c990cd138c0c380
DIST botocore-1.40.43.gh.tar.gz 15190445 BLAKE2B c152b13c7e0c877c891d699b77ab48015a402641a18ed03181da06860cf64a7b37144d3933e7d9593ca18d1715c2fba6873c528a0db6e6576f54e1b0cee4e834 SHA512 ea3867266399644c8bf3d718992142943bd676a7f53f4b906e7d58f5368831f53acc52bc3473d26f626eb85916aaaaea1755f13675f414cfe77d4a1de2feeb15
DIST botocore-1.40.44.gh.tar.gz 15193025 BLAKE2B ff2a2a82adffb1595b5932141657b6fa98159fce393fd6310d14108d78ac785a0fa8a52ab99ee8dd2311bde8df5fed867bb0bfb331ac4af968bd661cedb00c55 SHA512 7282f2277f92797776515fa53aaf3f52e441e7bc88a3d1d35d11f9e9c1182fc677f9e7c0b4440b12c80fff8d22a6db80e3fb03ac2e470c243898a23d8590dbc9
DIST botocore-1.40.45.gh.tar.gz 15197014 BLAKE2B 6b44913005d75f22b0ff993b1fea47a417832d17988cc2d39325f1aa3151690bd4f3248f4ab4a338edea23833ff731bc56808d8e4c2a99cb08e280f27fc301f1 SHA512 0d6746d501c774139be0bd669df118eea875b886de972a71bdbd64085db68697edba57fc1eecebac2e91f772b96ceea8636ef04af3dbeaa0d4d163a6d61156c8

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