commit:     4fc2479e4059a095eab7e6c10242957f17dbdf71
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 21 03:59:36 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 21 04:57:13 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc2479e

dev-python/botocore: Bump to 1.42.31

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index a035ee257fcd..bfd67ac20fb0 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,4 +3,5 @@ DIST botocore-1.42.17.gh.tar.gz 15777020 BLAKE2B 
b703c802f61993c6c3bed03e61f6e1d
 DIST botocore-1.42.21.gh.tar.gz 15742994 BLAKE2B 
65de15224f2c720267d0ccd3c42001a2320baa4493cff11f86602dd3498391bf5782f79ed072a8edf14c8fd3d02a8fe1ca9d50c21655fe7fb72da023efde4581
 SHA512 
2ef0b6eba5d98816e7972614ff113fa0f134da50d7f0d03109668be18d3d0d69bd27e9c4f7afec7a59a78d9c0e71d9c26577c66106ac48b676fbf78ee2069e5a
 DIST botocore-1.42.25.gh.tar.gz 15746961 BLAKE2B 
ba4474223e49f36be485d147d54fa5ed1b848022ef4d1fca9169c1cb2c29adafb487834e3bf99154cd658c9c3d47da9cdd6f42ed626c868e258b58aaeb0ce1c6
 SHA512 
3ab0747b0778d0d0172c12edc76cc7ee647e063c6b86f69998d02bee848cf1fb400c4e6e43ba6acad00846b18ce7de7acf7bab1daf6c1e864bfa8771baa17a6d
 DIST botocore-1.42.30.gh.tar.gz 15764580 BLAKE2B 
001377314a8c2231b838b48192498c4d4873de90017eb0c82c7409db210f1dbd09db30925d0b4ae7feb9e270ff947b16308a625fdb5910ca95220e443d104461
 SHA512 
9ab375ba9284780d347eac25b5446b0571991496897732e0dac457d2d8e7b12aa6b5b417478ed02516a407fa689953a715877590a9b16b3c17c584810cc6a8c9
+DIST botocore-1.42.31.gh.tar.gz 15766802 BLAKE2B 
06171344b9d0c33342ae0728ca4b71a2cfe706b455638668f63bd2b015810460cb12727cadd980ca76a0cc53690c0212418c4afad6fa917336df8eb41d690ddd
 SHA512 
8955a0eef5d28bc1dae69adaf4900e3222a86d83c6dea448b7d845601c3a99d4d440d3fb38bc04d2b953bf274f54df94a588e5d2c2914337b3d61a6b8e2782d4
 DIST botocore-1.42.9.gh.tar.gz 15723096 BLAKE2B 
2cb1489fa48546abe3306935367744f918d053e02af58d6b85ed84a50bbfc659ec20763055e9783d492f6f248af81e571b8452487bf8ca3267e15d12ce8773bb
 SHA512 
54cc19ca34474e8bfd7eda403452af24b6f73e611442ba4b7ed5f4f223ae279bdf95a3bc4945d16eba6ccca53d2dbefee6d2157ecb6b4ef23a1e960d5469dcc9

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