dev-python/botocore: 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:39 +02:00
parent dd8e575c6a
commit 1b448c6e16
2 changed files with 68 additions and 0 deletions

View File

@@ -14,3 +14,4 @@ DIST botocore-1.40.55.gh.tar.gz 15255349 BLAKE2B 22516d43d5737d92bbead967a13b4ce
DIST botocore-1.40.56.gh.tar.gz 15258987 BLAKE2B a7c859f57d02f303a241e8cde8527fa91b839deeb6696ad59128766a3c1d80a7aadfc4c48c6ffe408a0fcb10062b981987e7cc965f22802e1596479426e7a830 SHA512 40ea7244eaf3c81dc45b2d0999d080b0804382b8b102886e66493d618c84210dffa3d19bc7e2eb246a3523bfc22fefdaf28065d96a34c4d8fcff7354e1c632c1
DIST botocore-1.40.57.gh.tar.gz 15277091 BLAKE2B ce447b41606568d1ded7b2c10aad40f0e334bb65e72809a3e7055e5dae1779ee854ef895bdcce4386602c0118bef60349985d5d098b228cfd9bcb7c6ab325d05 SHA512 3b19bd21c2f94aec079d04a48e5e8150b246fcce1f6e90fa2e51f899e34a0cf1f40e3074b6327b039f46597f6fa6cc5096c0f7cd61d8e0e222c4a3ea23d8ae1d
DIST botocore-1.40.58.gh.tar.gz 15276910 BLAKE2B 355fa14db145d05a9ac685bd82af01a635ed0a8df8e24a923c25b43c768bb4c5f33b9bddc95b8ec14e03b6af102999f10573b70968067bd1c6bf20709855914a SHA512 e8a3a00a28ed034cca8bc66b0ce9e6bd8b0f169995d4a154a8a0c5611d9a70ec24ac9ed3bf4492062dfc22d16be85975536a12f5927eca5ec31d89be95e83ee4
DIST botocore-1.40.59.gh.tar.gz 15284317 BLAKE2B f0e5b5ac06292c003ac6dcf0d8b4098b12cdeb2ea5ef8158aa1ce20000730e8f0bfb65a5156f64decaec9ef2d144f3aebbad1e2f2389e80d6d3cdef24f735f2e SHA512 04aabb134f24782274c3b44b0addc45523e36216372e07da271d282968200b66785c4ca92754a79a0ae26fc93c2448e032f0e498552eb8b344c618cd2be2221a

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