commit:     5fa7205a9cd336363553a9832823db192d27a9d8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  6 06:39:48 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan  6 08:03:39 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa7205a

dev-python/botocore: Bump to 1.42.22

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 5987d2ee0d6c..5efdd7410a74 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -2,5 +2,6 @@ DIST botocore-1.41.5.gh.tar.gz 15519699 BLAKE2B 
05c9cd0768013d6e3af76ad9daf8b957
 DIST botocore-1.42.14.gh.tar.gz 15774512 BLAKE2B 
7c88b33bb001079890fa0a9f49134f5e2c9cd0bb8bef3a3fb46fdd8b60b3a939232eb893cdd03cc6f0b5a49e8623f211603b4e16c5bc38cefcfc9dce4554e436
 SHA512 
044df7ec561d300762d0e9373819e409a9e924abf74fa7a3de28d72527c535f7408bd5cd302799f816f543a966440a999279f8feb177650ad5a547e52f1d9902
 DIST botocore-1.42.17.gh.tar.gz 15777020 BLAKE2B 
b703c802f61993c6c3bed03e61f6e1da2099ad59364ea02ad2fe9802e0aa824ca4a38b0e8bafdcdd2bc2a6b64a8617fd1d052867d8ff2aa724834b7dd1bac265
 SHA512 
accbc4762c08d9ccdd95786f7be1a8b34d4d5c4315c3c3850a085db566dc58dbc96367440aa71ddf708b4454c8dd45866b60f0dd19c6173849ea450e4c5bd16c
 DIST botocore-1.42.21.gh.tar.gz 15742994 BLAKE2B 
65de15224f2c720267d0ccd3c42001a2320baa4493cff11f86602dd3498391bf5782f79ed072a8edf14c8fd3d02a8fe1ca9d50c21655fe7fb72da023efde4581
 SHA512 
2ef0b6eba5d98816e7972614ff113fa0f134da50d7f0d03109668be18d3d0d69bd27e9c4f7afec7a59a78d9c0e71d9c26577c66106ac48b676fbf78ee2069e5a
+DIST botocore-1.42.22.gh.tar.gz 15744428 BLAKE2B 
3802ac56f6b8290db40aff7ed5089c77f00ef25dd694afd37532fc6c0d5502c6a41472d1bd7888e76852285a868b286621a24c8cd8bcb45b29b70a95c10eb104
 SHA512 
cdcd2c76e650a3cfc464bda26707e7f60c77e3f9b3685940ab4b4008b64cf5a6eec2679367e5a63a32b199c847cf8bbc2c6de346244bb2cb9e7c91e42dbcaddb
 DIST botocore-1.42.4.gh.tar.gz 15703399 BLAKE2B 
ffd1613284a8487fd2abf10f53fcdaa13746990f519e2bc511bd09daa2efdbbc03cd141f40d36c83dc8180229daddb3a064c6d5aae2bc14f46921f50edf0f528
 SHA512 
22bbda9f4bc36bd18802812c63d650b2267565c27e432f7105daaa2c85660d2e3786ee11837ce2affe6d130504f9a7bf5c9e7ea3be5699b5d32be3090fb71914
 DIST botocore-1.42.9.gh.tar.gz 15723096 BLAKE2B 
2cb1489fa48546abe3306935367744f918d053e02af58d6b85ed84a50bbfc659ec20763055e9783d492f6f248af81e571b8452487bf8ca3267e15d12ce8773bb
 SHA512 
54cc19ca34474e8bfd7eda403452af24b6f73e611442ba4b7ed5f4f223ae279bdf95a3bc4945d16eba6ccca53d2dbefee6d2157ecb6b4ef23a1e960d5469dcc9

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