commit:     5b8b287511388beecc73682c33116363ca2a9f40
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 05:40:44 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 05:40:44 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8b2875

dev-python/botocore: Bump to 1.42.65

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 16fb0d4ba820..d561f4d76f96 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -9,3 +9,4 @@ DIST botocore-1.42.61.gh.tar.gz 15849256 BLAKE2B 
12813db9207aa595f4dbfeb30e33a4d
 DIST botocore-1.42.62.gh.tar.gz 15859923 BLAKE2B 
60c9807e446b3c15459b867d6e9f7833bed06dcf1f28a6907ec9be0743c05a6c705a42a47958b5d3cd6bd828c4606b754b8f4f2d93e94bd1303766e4d343439b
 SHA512 
9cb9d26757845f48522cbed503ad0b65dc105857dbab06d01bca920bed118dc702b73a27c32a59345a1ee7bec8c18b04605bbb4dbc776aa90ddb64800e0142f2
 DIST botocore-1.42.63.gh.tar.gz 15861570 BLAKE2B 
92bc6efde4e08c3c5f4ce1d910e2e2daeaa7e7e8403518c54e9cde3de5f5ce62a2836dc78c448da93098f900f97f8ebf5940a6df62be9cfee79c2747b3b07b5d
 SHA512 
3e713bd24a6d752f8af7486bd235099f0313a6b6511123e8f111253742c60e6ac75a1bd0b525c898e0998e501536536dddeae04621425181a042771f0205ac2a
 DIST botocore-1.42.64.gh.tar.gz 15863756 BLAKE2B 
b6d3f2aa75d2ca4f8754c655088c0e0163e7c384bebe930c8181b07354bb91d14a849145a528fb079d6b9ff8841734a2ac920a9efa23eeedf89f2bee88874f79
 SHA512 
f9ca214645edbaa5a06a77c2aedccbec93854695b1b758ea30413423707281fa6c9b1eab9a4d8f20861ac95a76f862a165ab6392722b96d6256fc2262330df7f
+DIST botocore-1.42.65.gh.tar.gz 15865779 BLAKE2B 
5e4c7eca2ea3e676099e3e1e454f85456363ebe7d4e0b6b7321d5576fe65d50321ba91e38a4a12dff90ab5241c51b5afe134471778ce541ccb54e79301fcf458
 SHA512 
f92cbb35c3fa58719968a607f0b28835529b86a6405c8c7af0d143a3c6e19d9eb5e77e3eef9bb74d013f16bb42479f24050af03f3c4e2a4f48e1b299d608189a

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