commit:     45adb1148241865ab00238f204ffdb78379bf3cf
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 04:37:19 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 04:37:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45adb114

dev-python/botocore: Bump to 1.35.44

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index d6dd76b61d5d..ef078cfd10c8 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.35.40.gh.tar.gz 13462072 BLAKE2B 
aa15665a9948d5ce5e0f75fcad10cc2
 DIST botocore-1.35.41.gh.tar.gz 13470971 BLAKE2B 
3db153b5317be2389e85d547c995b8b7f05d30d4effe2f46bc78b310fe92f010520b9e0ef50aafb6abe65cadfa04cf07c17074c17eb9640e85e85518dd26bd2f
 SHA512 
05feaa0e24d25ff64cffe5d41be4bec8f88b5fcd3bd2e51406a5bf012c39e6c7c000f6c1526fb66004548cc5ab8d47753147043935db7c976fcae6a06789b349
 DIST botocore-1.35.42.gh.tar.gz 13471109 BLAKE2B 
00845a687b9df256b458af452a0fa23911dea55d3f1630c663e176be0628622ed33c3e31b6004ca23ce5eeafd36bc62ab8ccf57a44d607669a15ef879f0c6059
 SHA512 
a2575d8f913aef010eee3f90f96cffa5232881b5c2ec2433b2dfc0834d54f8be237f2e83e853e1264816f567878315da8a412cdba8c50582ef9c44b0a3850200
 DIST botocore-1.35.43.gh.tar.gz 13472773 BLAKE2B 
89d079696894afa77679343b1a24a8417f25f9309746e1c806e22b38068a9b29d93b279420d6e92981dfe64a8ddb4b7a6892cd8e61eae3be75bc37ce01c696d3
 SHA512 
bb01ecadee0126ba321d13e4b01cc618b0d68382cec916857db1519bff4fad695f3f697e422cab5f552c4149e13e72687b6455a87f103d594dfe9c5a4616e81f
+DIST botocore-1.35.44.gh.tar.gz 13472693 BLAKE2B 
a38fd45888ee1e77d7dec3fbd5aeb9f94cd825d1d54bd11a467ef9938753724958fc28eae4316d1802c729f02874113b028a929afb3de64400723c144d5d0eef
 SHA512 
52f6c507efe175deef4e824c038f2db620f35f53f62a1372815b9c75a3638e371d89a8aa19f481f4ee29e58e5c30e5f9083fe14eb08048f80cd0f9aa1730841c

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