commit: 8cfc98f81ca89029cdbf9f9395fea8e2b15f9977
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 25 04:45:57 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 25 05:54:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cfc98f8
dev-python/botocore: Bump to 1.31.70
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.31.70.ebuild | 68 +++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 9fd559335963..9b10ff35c210 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -2,3 +2,4 @@ DIST botocore-1.31.62.gh.tar.gz 11961556 BLAKE2B
315a1ba1543ba5b92c0a0394a4a21b1
DIST botocore-1.31.63.gh.tar.gz 11975759 BLAKE2B
3e757c6303f3390d3d563187c47140042d09271b16022a7a633bf68dc7188d42ac5a73838d2ae0556c8eec63296bb3f3b3f1011889fa7c10d660654695cd70f1
SHA512
39f1b6cb5c61a55a6f01e41750f651baf16c6d66e0b9e30cff042f54d03c0e862ab91a8f918257df8da678b13e732c68e887b21aa00006778bafad5361f4edd2
DIST botocore-1.31.68.gh.tar.gz 11989788 BLAKE2B
d8d34511e3ef65f54e1b305cf60cdb98e43ed7f773da2d84abd2ba45277d0f244080dd9b86fb5ea75a1af3820f27e4255f5f78bf67415e18cff2be30cc625bd4
SHA512
7ec8bd1e2036f17dbaeec4b65e6100c0b5c163f3e05d7e4723f7f1bac75d561f1a2d76331021552cb08093c6e85858e6a76cb9846114adf9deacf97dd94135a0
DIST botocore-1.31.69.gh.tar.gz 11993410 BLAKE2B
3bb478c0d0bb8add09f3659739000ca5df6a2aead9ae51a44adb1d409d700fd27005cf9a96bffd679a70058125396761c2d654a93009cf660d9b7864567eeb7c
SHA512
334aa763eed79a479d8e8ca64eaf44919f3d9af7b637577e12eecc162c79235255ab6bd19ca9edd0698215fb11e198f38bf924db1590b6da3121ef5f7aa7f00e
+DIST botocore-1.31.70.gh.tar.gz 11998773 BLAKE2B
1843caf6976d066b1898a3721303c05a1075acd4cb59393adfa31542647d85d6b9fb3dc06e7710ff0249126bc464eea3bf47e3e484a242100facce7c545ef2d3
SHA512
4b2f0548cd3b223e30537b2ec6d3de2f417b2df0e5c9af00e9cee295483a50f66abcc2ca1d449aa4e85917f0157b249e594f8be7fb919069b97e49b174d53960
diff --git a/dev-python/botocore/botocore-1.31.70.ebuild
b/dev-python/botocore/botocore-1.31.70.ebuild
new file mode 100644
index 000000000000..7cacb5c3f634
--- /dev/null
+++ b/dev-python/botocore/botocore-1.31.70.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 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 multiprocessing
+
+DESCRIPTION="Low-level, data-driven core of boto 3"
+HOMEPAGE="
+ https://github.com/boto/botocore/
+ https://pypi.org/project/botocore/
+"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/boto/botocore"
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/boto/botocore/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86
~amd64-linux ~x86-linux"
+fi
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ <dev-python/jmespath-2[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+
+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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
+}