commit:     9d1b26201bacf504caa6d3b13c61adf45a63d69c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 12 04:45:17 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 12 05:46:53 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1b2620

dev-python/botocore: Bump to 1.42.47

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 1b21f86dd30f..e6ee14134eab 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -11,3 +11,4 @@ DIST botocore-1.42.43.gh.tar.gz 15818434 BLAKE2B 
386b4bdff2a7b7595dfa71dad6cef18
 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
+DIST botocore-1.42.47.gh.tar.gz 15836852 BLAKE2B 
c925221b714e9e2bd60bd08ae83287e2238d1215c99e5401d42b6f08d550ade1e7e28ad4a35966b282aa55448439246617ccd9b3699bc08f01552760053cbd5c
 SHA512 
7aa634b9c77f7c54445c3b7e358431660488f80350b77facbc325be7c606119f2fa10f5f166356f3a3f9500b4e5859e7876f882160e0aa5e5bad64fdb8213ae6

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