commit:     da8f1e9b4a9afa8b2805283cfd58f104d50115af
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 29 04:23:48 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 29 04:23:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da8f1e9b

dev-python/botocore: Bump to 1.38.25

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

 dev-python/botocore/Manifest                |  1 +
 dev-python/botocore/botocore-1.38.25.ebuild | 75 +++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 2987bae4468f..08cd17f9ccec 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -2,3 +2,4 @@ DIST botocore-1.38.13.gh.tar.gz 14619576 BLAKE2B 
088dfd540934b2c1f20e5a63ffd3aa2
 DIST botocore-1.38.18.gh.tar.gz 14648125 BLAKE2B 
b77da532e815f8cc270b78c5bfab8a9e9532e0909bab901eee68dca266b457e63fb5b5a844ee9c0ffd6cdeae7df570da7dc59ca50f47c19516d4d2578f07cb1d
 SHA512 
59a1235400068b9246273340af5b198c77cffe5d1da1d2856a3bebc0bb5799329a1986a19dad50e2e85f1063cab920039aa00062a2d2250db9dc7ecc6fa63241
 DIST botocore-1.38.23.gh.tar.gz 14649388 BLAKE2B 
d60b5e5d7fb445f332eed57f3317d3add82dd2123ab4199dc934a9a4d68c2b91947a9e50e3847da4bed06aac402542f2bbe4ea92bd47d72de86be3f8f5571b2f
 SHA512 
d602d19c9160d10aeb06aae911052da50dd66ef0f43e459d5911bed24acba5ac948781f1e8f6f43b377847670f2d074e044f454b043ba33859fc0ca0ba67976a
 DIST botocore-1.38.24.gh.tar.gz 14651552 BLAKE2B 
e4011257f1f1409446ad89d7ec332927c41d0d427d60ca7f9317ad57ba8cbd54448a3e4ee028533af7c2551dbcfe188f3c50e9a6fd33c18388671e5e969674f4
 SHA512 
5284444300ec18450ca2100b60f49877757ee0ca5fa3f4eeb865c02cf08a328113e5fa8491119afc65b86342f32e59215b75cf052c008650d8003b90ea6e3ca1
+DIST botocore-1.38.25.gh.tar.gz 14659871 BLAKE2B 
1450fac6d5dd5757f3ecfc2d4c564202b5da262d6001afdd412f48583b03a42a7acd70903fd8fc7543b7cd0caba382049964fb566628ea67022cbe7b03aa1599
 SHA512 
c32a9b2a9c693e8ff365ed3070952ffbcbe038b159942d879924fc22f8c81a9e268cde5e60c77f4188e4aaf4439a7fcd486c7b645c2c1a882827052689594781

diff --git a/dev-python/botocore/botocore-1.38.25.ebuild 
b/dev-python/botocore/botocore-1.38.25.ebuild
new file mode 100644
index 000000000000..535354aa3035
--- /dev/null
+++ b/dev-python/botocore/botocore-1.38.25.ebuild
@@ -0,0 +1,75 @@
+# 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_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
+       )
+
+       case ${EPYTHON} in
+               python3.14)
+                       EPYTEST_DESELECT+=(
+                               tests/unit/test_utils.py::test_lru_cache_weakref
+                       )
+                       ;;
+       esac
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to