commit:     9a894c0b57bab3b4cfcdbe56e6e4f441d718bc1e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 02:12:42 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 02:12:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a894c0b

dev-python/botocore: Bump to 1.34.136

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index ca85abd1dcf2..1137affe9e20 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.34.132.gh.tar.gz 13131027 BLAKE2B 
044d1ad5d843a8fa924ba71d66e025
 DIST botocore-1.34.133.gh.tar.gz 13132822 BLAKE2B 
156ffc12d6f880fb3bea95c08eabad14c6b0f53e0ffa53410a20b8d96ccb2147d0ee7efadcd4d281f2551dd12567d40868f17187f0e2c0d1061835f0ff20a685
 SHA512 
36b0b9c9234e226090d552713c0de0a7cd5265e35225a9af156ab3443c456b03967cbd0a60ceb87c746e0a14d33eda303b9c8bc9814a28bc322d5517aa7dc00a
 DIST botocore-1.34.134.gh.tar.gz 13136754 BLAKE2B 
c89a5d72f5777587cd3246e33100d271a8e937f2fea516e2772e31edb1f6065502b3342aa72e4739ca8e5a581401657009b870f7259ea7b94a1af7203961af8e
 SHA512 
2e1d3041fca06293c77d94bce8be74bc2a4625659bd37f513a8ae836472c67c0f2166cb03f77821166b2323c51b09305ef2f83aaa68f08f53f01801794837f78
 DIST botocore-1.34.135.gh.tar.gz 13148633 BLAKE2B 
f72a4fe9c57cea276bb908a98064efd3c39131d781509d807d3d61da1511f884c23858286f9b02eeae51201402e3119b8063647375bb74cd728a22e21fed4bdc
 SHA512 
2cbc5db1b1961f713525d6243e15ced19de33064f3675eede43cf2ee16c189ad2672ab713c6f2870cf271bf1cc502dcedc529d2279e81bb775318ab1648757f3
+DIST botocore-1.34.136.gh.tar.gz 13151618 BLAKE2B 
800b800ff2481335f0defb79c10a4216c8bb107a3369e6a45a9c0a6d8f703209a9e44560ebf859f7fc616498c68e9b0de331478a8b5e2d3b36788bdedb597a0b
 SHA512 
e9a31f6e8e241964fa34df65c8a9f8acaa1e33865eeb8257bf6da16982a3704b8ab66b6f424952ff100944471bb8f40cbdbcc26f72120da2d6033319948de81e

diff --git a/dev-python/botocore/botocore-1.34.136.ebuild 
b/dev-python/botocore/botocore-1.34.136.ebuild
new file mode 100644
index 000000000000..ba6cd2a5d2a2
--- /dev/null
+++ b/dev-python/botocore/botocore-1.34.136.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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 ~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