commit:     82a90c4cead5c9a9ae741a73efaa9a42fd28cbc0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  1 05:58:50 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar  1 06:42:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a90c4c

dev-python/botocore: Bump to 1.37.4

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 927e58681df1..248b28ed7318 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.37.0.gh.tar.gz 14283514 BLAKE2B 
cfa58211455acdafa79782e08f8d6c49
 DIST botocore-1.37.1.gh.tar.gz 14286445 BLAKE2B 
4537bc4d613e7ea2c1692078867bc43801617e0ab20e8f8b090d952f9e9ec4c39b4aba4605048ad35972ca9b724506cdfaac84633739f7f89ac187313d4e8117
 SHA512 
ca03f5963f0ee39693f469988b812ada7761aaf61d7325461877489ee4220b9a40f648fb2905ceaff9c3c84a27f43013d4fbba250cc3633110e2cafe1ff49143
 DIST botocore-1.37.2.gh.tar.gz 14275068 BLAKE2B 
6f15493cf53860049ceb5a7d9c2a06e80d78e17f2667005e424ec9f39eab4d74679d25f6b31466b94421c1d5197b47d06884fa7ccbd131848cf90bab9f148da1
 SHA512 
cd50844cc7458fe07ca3f1a21e36a28b2ee70e300c938db8aa9adb02f66975ff4030f96dea28e818737d549d73082c4e2801f3f995e5336fc71eff6b0d7f3e70
 DIST botocore-1.37.3.gh.tar.gz 14283830 BLAKE2B 
33c17ba44131ff3c4c89c092f2de2d718567f273ad2d856b29b220a768d6d9236ba30080a089d01a96b996cc97c312bd2c2b5d180918239ac3a352ff529ea04c
 SHA512 
1db9af9f9405782dc42171833c5a3371a60c2a8a807d2f2183e89b7bef4d2f9d0b2efa62c8e8c921a24c02ae63f2f4503154674397b037c78bf3f79995d2acb5
+DIST botocore-1.37.4.gh.tar.gz 14291786 BLAKE2B 
ab55a62f2291e623e61a0ec6712241815279ae6d8f25e678adbf6cf167265d216f44b0eae78f2b66a454253dc4ef977b90c38f1aa329c855b38fa844eaa478b7
 SHA512 
07921ca8d51ff2afd8a4dafa77b40b5c24afa0351d71dbf68cef716573ba1f695a331634734fb6d9822eee55c91829128dbf215920e3da92ea2b40b727d0a0f6

diff --git a/dev-python/botocore/botocore-1.37.4.ebuild 
b/dev-python/botocore/botocore-1.37.4.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.37.4.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_{10..13} )
+
+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_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
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to