commit:     67d2165289e62e6791bcc2e2c65e44be5bd79896
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 17 04:30:42 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 17 05:38:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d21652

dev-python/botocore: Bump to 1.34.44

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 887fc97af7c9..cf0c71f62237 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.34.40.gh.tar.gz 12700016 BLAKE2B 
95be55cb5c0f1a55846478196c90542
 DIST botocore-1.34.41.gh.tar.gz 12702662 BLAKE2B 
65c99f1c6ebfe6f33dc8747bdd104ab8a81884f0f729072ecc7f06e077766bbac58fffe7d185e959a3de892f634d2b68e96c2f3c7193e36a0eb3f54656c3ea41
 SHA512 
7ce1a8cfc196f200baddb395e63ebac405c320b8f521d8fea23fcf2d8d17e3530efc18e94cfcce749dfe86c5c4f2943f533edadb6bdcff05d623d3fa07b5b738
 DIST botocore-1.34.42.gh.tar.gz 12706455 BLAKE2B 
8167771d56270caafe58cd9acdc1a6e25da3fd11c4b49196f3de00814e98d8db100f08e9862331c5e905ba863c852611d9fe796d7b84ac2e8a0865888e75a923
 SHA512 
074f06a506044bbfb2c925dafbcc63a08f968e9aab755f9779a97e4502ad457e468d833a151c538a575025df853fcc7ff409ab3455f8d02f4888af15dae0e6b6
 DIST botocore-1.34.43.gh.tar.gz 12712686 BLAKE2B 
7cd7d6b3e57dba02ff2727d7c3aa80978a8431ae19dc6f2900bba8372a42eef416113d0cca26ec79518e97c019189f4c4d1faf706763a41a51c870dcfb51846f
 SHA512 
fc66e51828a6818b2bdb3a27bd47b6e55dbc0530ef7e6fab7961e6e7f33126de2dd0261d76e976f11680730f4b581783d812bbcc01f4aad5db9aef5377e6f026
+DIST botocore-1.34.44.gh.tar.gz 12716767 BLAKE2B 
335d59ae57ae5a5a1bdb44c3e196dff18cb24dd4a4d3beb59e7b8e887d5cc56f0716b2e4fead0c9a4c96978d661308fb0f1e045300e7af69c94ed799bb25a2ef
 SHA512 
12893173c0123711f496448e661bb8e463fcc29ac95c500fe427e2dcf9810659b92de1d38ec3192e1e20a92ca01a5315733f34d0ffe61f2c9b69763e427ee96f

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