From 3c87be94d93e27677f3c1d52a087ca4996f45355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 26 Feb 2026 04:47:40 +0100 Subject: [PATCH] dev-python/botocore: Bump to 1.42.57 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.42.57.ebuild | 67 +++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 dev-python/botocore/botocore-1.42.57.ebuild diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index ea9dac14a25f9..1d219c88773dd 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -13,3 +13,4 @@ DIST botocore-1.42.53.gh.tar.gz 15805189 BLAKE2B 41192b9714c72f7841c6ad1dc11014c DIST botocore-1.42.54.gh.tar.gz 15809562 BLAKE2B 555e6c10bb65e5f14fbae4366084ddb5839674feb8ed77586e95b6c2bce76de7422ed92f260640d2dbfddf25b070909f1b2d69c386a2265289c12c19d7e49b8a SHA512 a49078027612182c1cbc9fcbfb5fcf4d99b02ef4278b3d6fde341f3c33d92a00bfd99c4cdf0fa2e359ca8c05789d007815a39e3ee07e9f630880f2bda66ce9fc DIST botocore-1.42.55.gh.tar.gz 15814283 BLAKE2B b97e4be1a5e14706670742fb706e3d890660f92b7fed773ae3725466483607b5d551d414f92f1bcd5c0439e26ec37a62bd8891a9524fb2408ca094596cc4edb7 SHA512 8676ae2929beca575c58bd78e03eaf89b07fd74edf54194c02a196db4d6963fec42babed5e08e07041b8b0eee9c32d68e8ae0560428b323f4a7f01bf7e7d3bd1 DIST botocore-1.42.56.gh.tar.gz 15829334 BLAKE2B 534b02792685089ede7ce7c9514a4225d1fc78161847bda26b0772ed9aa3a9bedfd9ce20067b1d207af70eb4e028c5ced23146262bfa313af3d4e184db253a0c SHA512 dd0e7bc7703ebe846562a357fb581654c0c678df882399ec8b6d783b01bbac01f638cbd51a891ced08d97f087a240c7f02adc635dc6974d8a3f1392da19e00df +DIST botocore-1.42.57.gh.tar.gz 15831429 BLAKE2B 894a693b9d4b769011f493fba546fa473ab570dfe3cc31ea4ce4699378295df343f158a9beaadb1724a1b88dce8dd262c29b0dc40f8d0644fd60e98d20a362b6 SHA512 76ebd7f3e442e2b9cde912deeedc15a0d6729413724040b6ef5b490e4dfab4aab9188eb49d5fa84a3535afab67330a827f6f0d51d9c6eac1798c6a6326eeebdd diff --git a/dev-python/botocore/botocore-1.42.57.ebuild b/dev-python/botocore/botocore-1.42.57.ebuild new file mode 100644 index 0000000000000..d43f8b5c5f238 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.57.ebuild @@ -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/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} +}