commit: d87e078ac00ac649ba7bfb60251746a0262d8502
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 15 03:03:56 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 03:03:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87e078a
dev-python/botocore: Bump to 1.34.42
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.34.42.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 6d696fd33dac..3f580b2b88a1 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,3 +3,4 @@ DIST botocore-1.34.34.gh.tar.gz 12682925 BLAKE2B
514e6946558d1014371ca7ae4c76614
DIST botocore-1.34.39.gh.tar.gz 12697404 BLAKE2B
d8670c591c06cf5b02562adb234225dde1da6a805d40f314ea7e88b8dc532dc9cb3bff80255aff8798137584a8038b3747e5dc428fd0dc20def923c9a9953a5d
SHA512
e5091955cbaa838365664458e71e77ecc4649e12995735a367ea007bdf5e10b41e4009afa8c3832f88a6c49888091b7d668834f1e5edbd64298d88c4eb8f3f1c
DIST botocore-1.34.40.gh.tar.gz 12700016 BLAKE2B
95be55cb5c0f1a55846478196c905427d1c45f9fbff6f57506cb4a7ee2112f5034d6e7872bb9d27e89f55dd64e3b2ce33d0a5cea461f9fd1ff5a02a1a60f3748
SHA512
ebf72c591f72286e06d21cd69234b91d681f8b1c9fd2a1bb1c5720b997d2b7f968ab0802bdc01a59eac395fc1822764efb27874edbe273f0747a6f0c8775a540
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
diff --git a/dev-python/botocore/botocore-1.34.42.ebuild
b/dev-python/botocore/botocore-1.34.42.ebuild
new file mode 100644
index 000000000000..ba6cd2a5d2a2
--- /dev/null
+++ b/dev-python/botocore/botocore-1.34.42.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}
+}