dev-python/botocore: Bump to 1.42.42

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-02-05 07:49:29 +01:00
parent f2eb2ab207
commit bbfcb7dea0
2 changed files with 68 additions and 0 deletions

View File

@@ -6,3 +6,4 @@ DIST botocore-1.42.34.gh.tar.gz 15781471 BLAKE2B 694d24a74d14db50f6532c92032e3f0
DIST botocore-1.42.39.gh.tar.gz 15795159 BLAKE2B 3485a55d4fabb1b7431035d9d22e5e165c226cd1fb9265dce47dc0123927504e3c4fb1f745d173f9fd7ba1ca3f74a0e31ab96cc0f1de6dbfbfd1c676e1a5ec59 SHA512 5b11b07e149d76c6ae34364f13eef263abcb83008fac1b76dba3ed27ba25b086602bbb4838e0540d4780e84adf7e29ae2fed46493e2e4ce2948bc5b70bdd387f
DIST botocore-1.42.40.gh.tar.gz 15796244 BLAKE2B 9ccfe4e71b26d6f8696ec6a27bc7dcc668e5c4bc232d42cf72c814edba1076d88f46b16fcc1735b6784343cd598d920d88bfd4f68b9fa97d7366364f8b1bb77e SHA512 c90ef78777d9ca610340e24af6e56a5f1d1660707a4fc80c9ca557df39613942c3ef548d4477f5f4e4d3c5f7b9f68efdbce7d73cfe667bbe705fa7b5a64cab25
DIST botocore-1.42.41.gh.tar.gz 15803963 BLAKE2B 3b34f515acaf1bb1445f975a6f71c7c482b784cf801abecfcb8c621d65fa2ad2f88d2a10cfdb07d3a032e539e5e349d9dbea72fb087cdc07fe8beffe33725350 SHA512 9f9b7a68b2bee537652fe026a5903e67fed40b5ecaf9038bfca2d8fbb5d5359e8c962eeddab4a9c5fd9f3361342751b63cabb7b56e9013ca054691d689ce8bbc
DIST botocore-1.42.42.gh.tar.gz 15806216 BLAKE2B 4cd696276acb5e2d340ab9b8c6c3bc8b7c620fe0e6c3a6c1198bf39b2e57b285ffd2ecb39559b47bf7922e4a8a3f6bd308f64606adfb341172d941ee06864aa1 SHA512 c8201c4eb4559adccf4863449c032cc9a882c9464fbbd68121bcdf555ba84cff6396cfae4422a3f4584fa0d7de465c704707be871b3359c8b370c21a9ebc90fc

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