commit:     9d2f6d4209abd6c47250c3a33a7ed66fa73d2d79
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 11 02:30:05 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 03:23:39 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d2f6d42

dev-python/botocore: Bump to 1.42.46

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 3241c63178ed..1b21f86dd30f 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -10,3 +10,4 @@ DIST botocore-1.42.42.gh.tar.gz 15806216 BLAKE2B 
4cd696276acb5e2d340ab9b8c6c3bc8
 DIST botocore-1.42.43.gh.tar.gz 15818434 BLAKE2B 
386b4bdff2a7b7595dfa71dad6cef183ce0628df8e82af28d1b307b4f07ec1820d5aca46974d51dd4c440a74d26902e7ea473ea8fa6e66a8c641e322ccc654aa
 SHA512 
dd4ba485047d751cc55c1e446805e63b997c217f96e7111c3c98f40979625665d21a70947357b7bf215a8c8e957971f55fccd8cb2359e96504fd3655561b469d
 DIST botocore-1.42.44.gh.tar.gz 15820139 BLAKE2B 
a7047f799dc39ee8f49c7128e91e0f11f20c38b946ec5555a75e6fd3f8691fe396d312b9ff3023fc031415cc0846fe94f5d9a5357e31f9d0670cf7e534474609
 SHA512 
519b7e28d5b46e7e6ac3b375f1926670d361695b34f07d8eddcf48fee8af2b3674040fa5a3b1a27961f77c435a3c4c78deb1802933f08d993dfe4cb782ea4b2c
 DIST botocore-1.42.45.gh.tar.gz 15825494 BLAKE2B 
d376a9f800b28b784dba58d32713108ab88d72b6c98ebbef84dc8dc81d1b286609cd6249c7deffa92626d24ad83ee7873465aaab85e23b5938857a432041087d
 SHA512 
401db4160b04bb585d648d6b05c7dc9f33bebb0b50077e04a6e07aabb43a6049be510630d889b9e550843af607a06a0a2cd20c74379a41dce0a58f9f0d1f0deb
+DIST botocore-1.42.46.gh.tar.gz 15831397 BLAKE2B 
148e1bc0dcf632a76c5d2fb80ae31d197ec9006565660a42fe535ef43c618b411d1caa3835dedc57e9abc9eaf2535c20617f5c7ca0703310a1cb18a9d9a981f9
 SHA512 
bc7fa8a77589638dfe903eed1c54e315439a3e9014c046d3ecbd06197abadceed3be68d3cce268aa8a9b45a060ec492a95b4fba5c403d0803d2b7cf5aafef3ec

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