repo/gentoo:master commit in: dev-python/botocore/

Michał Górny <[email protected]> Wed, 05 Aug 2026 02:13:34 +0000 (UTC)
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785891467.8015d95675e85c4e94614128573beb73599561d2.mgorny@gentoo>
commit:     8015d95675e85c4e94614128573beb73599561d2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  5 00:57:47 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug  5 00:57:47 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8015d956

dev-python/botocore: Bump to 1.43.64

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 8ec6fcc88b76..61a340f79eb5 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -7,3 +7,4 @@ DIST botocore-1.43.56.gh.tar.gz 16732272 BLAKE2B 4a399f5febf5ff58a49b09f1e1a0646
 DIST botocore-1.43.61.gh.tar.gz 16803304 BLAKE2B 9a94cc40be6143a578b4bfe2760992818a30f1d1b7464be307d338837a82e0de1b21b4cad6a32bb7284ee5a4231f3fc1f2473298947f75ea45359b76f8b38e99 SHA512 dee14f883824cbb3c9af9be959afb5691260fde17e90997ea7c936fb0d5a793b00ddabf216eb8058c9291abbaafe6390044ee837837f9b00d8ae6e3e7ddafd7b
 DIST botocore-1.43.62.gh.tar.gz 16820420 BLAKE2B f25361a48491104b819ab09b799e7e12428a8636941625eb515e8447d24a5cd747db07f14367a19376c5ab93c3521a0b63ee0db19c6f605f9d901c4e90fa0427 SHA512 6a9f7843146f09cd1ed07181028f3a2f14b26722d2618cb6916fbecd609f7daafb7cce931da09350af2e69afd42f22048cb51bbb8a1a60cbf8e502085f2a69af
 DIST botocore-1.43.63.gh.tar.gz 16828484 BLAKE2B 30b3a8ab2bbe38fd21386302b02bd6459f974202ce2554f3c69306b71817d66490847306d203ef3d9efa67519fb2fecb2b9b045b86f96d415bc268f81e8acc92 SHA512 0456763ec549c2189591a7b6ba55a615ed266ec2568242311e4766ff48aa5a4541002072be748c8b55a85802524e6155d2e0fc9ead44840ed05b55f424ab0a4a
+DIST botocore-1.43.64.gh.tar.gz 16850545 BLAKE2B f68420ac2186f84eff4cf061d42e245cabee5a71c52d4db2db8508b538c91ec9132853eda5902591629792835bc916bab0de681b18bb60f2b8a845976b6d6db2 SHA512 9d6fe4406e550e17eeb996b7d98c3682aab7bc1ee5ad35185f89ee877aa3a472cfdebd05b0e827efcf2a30ead49f3dba7a3d5216a100121512b514f46ddd5b27

diff --git a/dev-python/botocore/botocore-1.43.64.ebuild b/dev-python/botocore/botocore-1.43.64.ebuild
new file mode 100644
index 000000000000..1714d2dfdc7f
--- /dev/null
+++ b/dev-python/botocore/botocore-1.43.64.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_{12..15} )
+
+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}
+}