commit:     1e68348857a1c038c4d9fffbd3726189fe1a6f37
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 25 03:30:26 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 25 04:35:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e683488

dev-python/botocore: Bump to 1.38.43

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index c1634498753c..af29bfdd805e 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -7,3 +7,4 @@ DIST botocore-1.38.39.gh.tar.gz 14778742 BLAKE2B 
3d8533688317d05707e0cab26faebab
 DIST botocore-1.38.40.gh.tar.gz 14783063 BLAKE2B 
2c5eeb4ea827b21409fe9b21e837e12245cebc0063246e8e89b9574dc722b52410202a0ff8043cd05401eff2f0132c9e25dc0bcb8bd293902e5c44b957eef1f5
 SHA512 
4bd2cbb6f9907e33bab222f7da725b8790dcb53e69a2da4552d5bd1cde637d5467ac607a2df946edb2de561c1c81c294ad7933d621ad182e6906192407a4fb3b
 DIST botocore-1.38.41.gh.tar.gz 14788068 BLAKE2B 
3bc2cfb9e45235b076266a96fd3568753c267ab8a1ff438e21159c3d31cfa9f0c6b057ffda665006adacb69d75282c34f31d14095388ee120274dd60cc4e0f2d
 SHA512 
de75b9799754cfa55fd54716ab088719f96403d2fc9b357751263f8382bb513f0526d9815cbff7c317fbd66508354e6024d622bd09d0bef035939f03f172a575
 DIST botocore-1.38.42.gh.tar.gz 14799205 BLAKE2B 
9def6b5bda7f2c16610e6b2b3925cb4d6e22940e6b4f11c82969749af81532977a62549b4f480e792d09322695efd6688a819b55d10e6560716eb56bb41915eb
 SHA512 
c7ca063f9edf984b02e93afb8ee569c723d13c8ec70f77a8cc376abd9665260cfd990d6e52f13cb34059aff4e572892d0fd4ab3a3819030d08deaebf986717f2
+DIST botocore-1.38.43.gh.tar.gz 14803790 BLAKE2B 
7aa15b99588100652e084898316cb8e1e11d43ce83a1dcca7ec86303ac4af7db981dd90c63326c69d7ba80884a51a2ed7a5b05f58ed0a7d873550911cd8b7090
 SHA512 
02666e9997a8a95b286a71cdb9474e18c7c1e96fd519289f0652f5361c519fd4f25b2d92005f13446f91cb2b7f274d0430d75c9678db5da41353a5c3d740013f

diff --git a/dev-python/botocore/botocore-1.38.43.ebuild 
b/dev-python/botocore/botocore-1.38.43.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.38.43.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