commit:     e201058d7f13fc88f56f2dac15ba98230c8e0f0f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 20 02:00:02 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 20 02:59:07 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e201058d

dev-python/botocore: Bump to 1.42.53

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/botocore/Manifest                |  1 +
 dev-python/botocore/botocore-1.42.53.ebuild | 67 +++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index f346548423bb..8f5d017561d7 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -9,3 +9,4 @@ DIST botocore-1.42.49.gh.tar.gz 15843630 BLAKE2B 
823ba230ac7ba7fb3ecef8c716ff0fa
 DIST botocore-1.42.50.gh.tar.gz 15844813 BLAKE2B 
17738a393aee02ecf689acbb95daa9e1a8350913e8d8e24d00e0cd8a25f83bd688363558594f6cc22627a2d79c28b52dd2a99be64d2dc9023721e71c0de1881b
 SHA512 
ebdd01be0d7653c2d31b77007998bfa09f1e67df1054e1bba4b121446fe1aa25a8646de8002621b870cbcd35614c80ce56ad89025f0b017c8d90ff3e66754a16
 DIST botocore-1.42.51.gh.tar.gz 15803682 BLAKE2B 
9b986c8171c3e4d8770d9996b995c2a440bd18f2e66c4bead3dbeee2f83b234576aebd3ce0d26e15a2a383cb1951111c06ebb1e614d29b6e1a818deb3199fa90
 SHA512 
13779007ca629d687fdc631dcd3e3f72f91f53496010f94d489c84132180cb71ff1209b933ac6de5a26adaa63670d12cb0229b8d3be35bd673cd9f0d0417ed09
 DIST botocore-1.42.52.gh.tar.gz 15803656 BLAKE2B 
429a6dafb158f11504d9ce888373af52d5916e76349101aec3ed83d3feb92e319692f6c8cdcb6d7dbf34cff4525bcc19dbea0346d95cf81c7516d56a83917818
 SHA512 
e88701a7f6091f8967586476b5dbe4216dc7a9b244e6a3f6d4c78612c8c47a14dd37e8cbff4e13d20cbf283e8eda858cba4f41498a6cade0c946b18c943a5ea7
+DIST botocore-1.42.53.gh.tar.gz 15805189 BLAKE2B 
41192b9714c72f7841c6ad1dc11014c0714ce1b89f6020cbe806f91fde811762028d02b71499e3c14703f0b46f0f450f4662bc6901fe4787ff5b6e5703a3ea60
 SHA512 
812ac85114b50b038e97f25b4ac4467949c1919d3b49d029f15bc66e8aa6a170d8c0b927fa2f6ab75872c064b36113fa0758aca44766006e32c5ebffd9e1d1e1

diff --git a/dev-python/botocore/botocore-1.42.53.ebuild 
b/dev-python/botocore/botocore-1.42.53.ebuild
new file mode 100644
index 000000000000..d43f8b5c5f23
--- /dev/null
+++ b/dev-python/botocore/botocore-1.42.53.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/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}
+}

Reply via email to