commit: a9a56769217c11376d3a23ef08824acf3c681e25
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 24 01:38:36 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 24 02:33:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9a56769
dev-python/botocore: Bump to 1.40.58
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.40.58.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 0a2046eb13f3..a0fc47948393 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -13,3 +13,4 @@ DIST botocore-1.40.54.gh.tar.gz 15251739 BLAKE2B
ca4f84e88e76bf2ea9b88833b856b4d
DIST botocore-1.40.55.gh.tar.gz 15255349 BLAKE2B
22516d43d5737d92bbead967a13b4ce72fc6d35d928f9ac6d9906505412813b1649a5b5e73d14f90d7650682568ca3545e4b4b70b9908570725f4c3e2a4adaee
SHA512
175dafe4d80c9283cfd4e81d74e59ad694356438b1a32c765baa78686b2afeb3f7e6083e76cdf488efcec0fbfb26967a408cb9a9cb48d0a0feb37977254a14a6
DIST botocore-1.40.56.gh.tar.gz 15258987 BLAKE2B
a7c859f57d02f303a241e8cde8527fa91b839deeb6696ad59128766a3c1d80a7aadfc4c48c6ffe408a0fcb10062b981987e7cc965f22802e1596479426e7a830
SHA512
40ea7244eaf3c81dc45b2d0999d080b0804382b8b102886e66493d618c84210dffa3d19bc7e2eb246a3523bfc22fefdaf28065d96a34c4d8fcff7354e1c632c1
DIST botocore-1.40.57.gh.tar.gz 15277091 BLAKE2B
ce447b41606568d1ded7b2c10aad40f0e334bb65e72809a3e7055e5dae1779ee854ef895bdcce4386602c0118bef60349985d5d098b228cfd9bcb7c6ab325d05
SHA512
3b19bd21c2f94aec079d04a48e5e8150b246fcce1f6e90fa2e51f899e34a0cf1f40e3074b6327b039f46597f6fa6cc5096c0f7cd61d8e0e222c4a3ea23d8ae1d
+DIST botocore-1.40.58.gh.tar.gz 15276910 BLAKE2B
355fa14db145d05a9ac685bd82af01a635ed0a8df8e24a923c25b43c768bb4c5f33b9bddc95b8ec14e03b6af102999f10573b70968067bd1c6bf20709855914a
SHA512
e8a3a00a28ed034cca8bc66b0ce9e6bd8b0f169995d4a154a8a0c5611d9a70ec24ac9ed3bf4492062dfc22d16be85975536a12f5927eca5ec31d89be95e83ee4
diff --git a/dev-python/botocore/botocore-1.40.58.ebuild
b/dev-python/botocore/botocore-1.40.58.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.40.58.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}
+}