commit:     66620705b00446f00b71683ab19faa0e6cf207ee
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  7 02:19:47 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov  7 02:19:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66620705

dev-python/botocore: Bump to 1.40.68

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 91375e054f12..4caa20ca0a38 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -7,3 +7,4 @@ DIST botocore-1.40.64.gh.tar.gz 15230274 BLAKE2B 
6156b2d80f6aee5df0d746bf3a2fe1b
 DIST botocore-1.40.65.gh.tar.gz 15232368 BLAKE2B 
87a15fb88b255cd44ff40e3089f28851d7dba8a63fbaa047a66b69d0196e44bcf382a12b0b9e36ef00cbbe8840e8ecacc562b156ff6d376ec00a7606e4e81969
 SHA512 
09779168d3adcdcf2c1e07ad9be56f6f368f4c63b9c99c4e4e09f46ae7ba407fc1883b2ec45144fb2d68db575acc60d20aa42ecf1c07fbb45195793ee62a0f26
 DIST botocore-1.40.66.gh.tar.gz 15233233 BLAKE2B 
d30bd8bf6766d3f08ebadb9cb1fe70bb39cf5569756ce68a054c0e4e0658014fbfae84de664eeb3890771e8f550f475d03d4a17b8b09814f0aa66e9c35ac3eb7
 SHA512 
fa50ab93e759a9eb716d941eca102c1c57d9243dbaef686f5510a836731d8489c781395e2edbc8a9af4388ab2de151dcb83528bcf350b8acff2f77e9d85be5e2
 DIST botocore-1.40.67.gh.tar.gz 15242334 BLAKE2B 
850db68086a9820b059a3465d7dad44d937b71c28b1b7b416854cb50d70fce846976507812fb8501b65aeda1afbfd57c6d6a8c53936f0e0c71e84e435557922e
 SHA512 
ef21d63af1a04b4f4d6605c55c38e604628b4c0d3e8eca0da47d49f229e646e12fc5eb4b2dfb8e9b1831fc88d3970a7aee2e3293ff63d4a2938f06292012f08c
+DIST botocore-1.40.68.gh.tar.gz 15260326 BLAKE2B 
577c8bcfbcd6e26fdddaad7945cfcbf57c07aee50b84b9c07add93c95cf2c84ebdace5212cceb9b0b9a5c0b90aeb8796a14217825dccd4c24f479391d2a8afef
 SHA512 
ce61a0796c2dcdcea486b9e27876bb3f3963d531f52b4caddb6edde1b3eaac5b9675f9e6bea017ebc62ec26c0a2fab4e63fe0476c7411947df7a09f59a19e41f

diff --git a/dev-python/botocore/botocore-1.40.68.ebuild 
b/dev-python/botocore/botocore-1.40.68.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.40.68.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2025 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 
~amd64-linux ~x86-linux"
+
+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