commit:     9b72ae94283dee96b499693e224f1192dd0ed12b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 19 02:17:52 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 19 03:03:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b72ae94

dev-python/botocore: Bump to 1.38.39

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index a46e1d3e792d..53ab7cd2801e 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,3 +3,4 @@ DIST botocore-1.38.32.gh.tar.gz 14700669 BLAKE2B 
c88446a3fc16de58f0d52fa3ff6f345
 DIST botocore-1.38.36.gh.tar.gz 14720436 BLAKE2B 
fe5b58bba65c55b4ace04b5fa88de6fcc8c47e4c5de4ff1ef9c6c24554d40ce5f8b93bddbc837621231c5324a12db1682f554d290a345e898e3646ccf0e48ae1
 SHA512 
e941f02b1117e8f2690f9d4355a3dc0138e88db007b76325fe55cd4b41c0fcbc2f9b306bb1c5c49ef02c56926eab82d6469c6761c164d16678963091ab9d925a
 DIST botocore-1.38.37.gh.tar.gz 14724206 BLAKE2B 
25f1ad806e6652a3ac0d257912580fffc28475ff6b398d9b61a3e7c1ae98498ee1ef33a851e78a4504bafcfb1b84b96d28201c27f9bcf46b9cb7c3e427ba210e
 SHA512 
0107bf62650dc865fce053e828c4ee7d6851d13e16f1039f145fd8b3e964eaa70ef7135185f857ae5db31cdd1f6117fc4141c626e603d32b94527298d7974139
 DIST botocore-1.38.38.gh.tar.gz 14762089 BLAKE2B 
07dcd8001267c9a6ff962a9a1c10fe8b9b9ebf899469e632ed87a6a0c075fdc3d9853e77fc79f7847ce272e8bf321ce8354fb8ab2bddeccd704c37ea1a69d980
 SHA512 
0ba2984b147dedc479c4f55bf747f13c1fcebfb3c4c06ffae747c55daf0d565a44282f2110b73dac5f3ba8e34484b7edfe6d2b102036a3870b3859687100d997
+DIST botocore-1.38.39.gh.tar.gz 14778742 BLAKE2B 
3d8533688317d05707e0cab26faebab522e24ffc84c189f0b1f7887c83c8f88aebe00fecdf6a660fded37e2edb2089127b4edcee89927f0e76e296f9dc14c368
 SHA512 
257350cbf5eb9ae5aac601847dcc5c09f74d7e4e73316c2a9bc35980d2300ae43884ffc3ed9aa06184fdef2bfa1ae6901cd0923fbc039d7949a904de1f710f78

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