dev-python/botocore: Bump to 1.42.60

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-03-04 03:33:17 +01:00
parent 5380397cba
commit e20090e72a
2 changed files with 68 additions and 0 deletions

View File

@@ -16,3 +16,4 @@ DIST botocore-1.42.56.gh.tar.gz 15829334 BLAKE2B 534b02792685089ede7ce7c9514a422
DIST botocore-1.42.57.gh.tar.gz 15831429 BLAKE2B 894a693b9d4b769011f493fba546fa473ab570dfe3cc31ea4ce4699378295df343f158a9beaadb1724a1b88dce8dd262c29b0dc40f8d0644fd60e98d20a362b6 SHA512 76ebd7f3e442e2b9cde912deeedc15a0d6729413724040b6ef5b490e4dfab4aab9188eb49d5fa84a3535afab67330a827f6f0d51d9c6eac1798c6a6326eeebdd
DIST botocore-1.42.58.gh.tar.gz 15832682 BLAKE2B 66fc32d1a251fe4cdfd5c09a5f5ccc6131bc3b2b0e95e3e977a75aec65b02262b00bdb390f32fcbebd167967a9ba0879ff765ee922fcacef1786322dfe676599 SHA512 9aea418130e44d199a5c4406914034b38b4d0a4e4bd6d2a0d1745f3d934f4cfc55de92a4698fd1f957050648d49a53584168d73ca63a76fc150a9371d740bc5f
DIST botocore-1.42.59.gh.tar.gz 15839997 BLAKE2B 6adafebe89e98b9a609d93cba72dcde9bdaababb7ccec6199917b3b59e898c3fdf88b9ebc54d42bd59f74a596a1eddabc1846054453400c820f31de0724048e7 SHA512 fc26447e76b8cbc8520563a469c5047a2fa872449c277a21799396bf5c0b7f61f61dcae9403f9cc3e523bfe549cb45a105b7eff153aced7aa0ca7a7cc49664fb
DIST botocore-1.42.60.gh.tar.gz 15840569 BLAKE2B d7fc6631be4348e6d9a7153a7da63fc975082157f3a3dad8ed9668b18f3f18801f7cead6bd3c7bb9f43416672cb987d04f60a8258c0cdbb0c9ceca8a7c0680a6 SHA512 9f1ee9651615d986dd7066586853e51bf1ffb052e7e1a517834788fbfd86c8d608a348387977508cab055dbd37eb61f41959c427e7c60c14f6a9d02b8d9c1c99

View File

@@ -0,0 +1,67 @@
# Copyright 1999-2026 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"
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}
}