commit: 50a9d00142919ad9fc87a3d2a6e28cf7b003cdb9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 11 03:55:15 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 11 04:56:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a9d001
dev-python/botocore: Bump to 1.40.28
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.40.28.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 279bd3b4c84d..37fac873d93b 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,4 +3,5 @@ DIST botocore-1.40.16.gh.tar.gz 15153147 BLAKE2B
7c1c32d1255023d767e513812f2b245
DIST botocore-1.40.21.gh.tar.gz 15110941 BLAKE2B
93927041ef8b5b3a6349a766a5f15afb73fece9846c9cbf2ac5c8a45b4513e46549539c8a14b85de36d6ffb5a5999cedd2a97251d16e0a93fc3c7dde8bd73b5f
SHA512
bc9eca7f4ff7f0a7e58bd3bb60d95df45a71caf2a98739702b341838a1db31b161e1e0818380a6ab805dcb1e05be2e3e182a456c0e2dd91042b34ed3100aaf22
DIST botocore-1.40.25.gh.tar.gz 15123642 BLAKE2B
71ba5fa27fa51782f213b1b818f15f3e162d8ef17c161494d58917806ed713157e12cfdccd998fe8df747eb66cda74330cbe0e7b665babfa7b71fc2fab569d08
SHA512
ea4ee30500317b84536d4bb7d694d110bdd2d5e202f267514d8e85678656e73f356b640809f56e21e030ce4e69b49431a51ee9cb14218529ac8b67b8cf406bfb
DIST botocore-1.40.27.gh.tar.gz 15132721 BLAKE2B
96366b67c65297f1df036cde60cbd19590fec32e304db7e4c7fdf48e660f88bb86c5b1bf547a225ba9c1b6c45bec2e2b916f150d9a2d916b6243122d16702ca4
SHA512
567b07ab2b456a938231bd4f71402edc231f7e4081bfc28a69156c9267958f9387796d5e65a4acd12329245efe99f5085145756c8c73e23dfedeb6229da3753f
+DIST botocore-1.40.28.gh.tar.gz 15138164 BLAKE2B
28b19faf101189f630245898fa974e71f75169e1982f75b38e2e032160f0a75d7283b1e2a6f54d7aff2e7b7789c7df881c64f4aea9700c682335aa60dd5b55d4
SHA512
bbaca59d13755c766f47bbe15e97df36b740eac0d0ffed9db1e10dec4caf0aea1dbaaadd54f2e3be12e0927ab7d68bb2f1f8b512fb4282f61454f9baa7cd0cf2
DIST botocore-1.40.6.gh.tar.gz 15096678 BLAKE2B
fb76ace4058c814bb8ef17bb216f5f7355eec401e4108d8a6569e07f97b14becb9e99652364dacb7e46e62f3ffaea2e5e1cd241ae832fe0a359ed58bbcfe3500
SHA512
faa311f29da484083f49a9ae7beda844b8878750c7474916ff7200b4a5fdc01e26295923c7a0f0bc4e4b1c22e5381f69546b8685fdeb2112f1c61810d3c9b58d
diff --git a/dev-python/botocore/botocore-1.40.28.ebuild
b/dev-python/botocore/botocore-1.40.28.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.40.28.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}
+}