commit: 430e99b304a0e60ed3ed3cc165e8fed3d07c804f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 28 05:52:14 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 06:19:53 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=430e99b3
dev-python/botocore: Bump to 1.40.60
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.40.60.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index d5fd3806428b..62be707f2d2a 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.40.45.gh.tar.gz 15197014 BLAKE2B
6b44913005d75f22b0ff993b1fea47a
DIST botocore-1.40.50.gh.tar.gz 15222465 BLAKE2B
626b040c06531d96c1e0276e4bf6a70747b2c8184d9178b24333b1b7e91e833175114d31e7ee1b48b83597b22b2869132b50f3834a4bdaa082a111a7a9f41a10
SHA512
91ac7467c8b1cc58d2b29a0bb34d7374a7c8987eb73caccc3b3becb782995d64a874d099ea74a5e0c046d0aae2497211a0a84d3a8e7f42efc1252fa6ab517872
DIST botocore-1.40.55.gh.tar.gz 15255349 BLAKE2B
22516d43d5737d92bbead967a13b4ce72fc6d35d928f9ac6d9906505412813b1649a5b5e73d14f90d7650682568ca3545e4b4b70b9908570725f4c3e2a4adaee
SHA512
175dafe4d80c9283cfd4e81d74e59ad694356438b1a32c765baa78686b2afeb3f7e6083e76cdf488efcec0fbfb26967a408cb9a9cb48d0a0feb37977254a14a6
DIST botocore-1.40.59.gh.tar.gz 15284317 BLAKE2B
f0e5b5ac06292c003ac6dcf0d8b4098b12cdeb2ea5ef8158aa1ce20000730e8f0bfb65a5156f64decaec9ef2d144f3aebbad1e2f2389e80d6d3cdef24f735f2e
SHA512
04aabb134f24782274c3b44b0addc45523e36216372e07da271d282968200b66785c4ca92754a79a0ae26fc93c2448e032f0e498552eb8b344c618cd2be2221a
+DIST botocore-1.40.60.gh.tar.gz 15285623 BLAKE2B
e543690a177697da826ced0fba584f996bba0083faa6db005d044280594feec33bc091223eb0cedafde722180a62e8f07c36464743f4e6a927f69245696d30ba
SHA512
06bffc6051a6f7a3d2da55a85a80c38701c1db846f64ce6b86e961154240fb1ec1cd1f7816efe1ec01f0d5cf0f9140efa98a2c682ca5eb083da39b99d8678f79
diff --git a/dev-python/botocore/botocore-1.40.60.ebuild
b/dev-python/botocore/botocore-1.40.60.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.40.60.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}
+}