commit: e4fc44c36234f06da2588bc261890d83435ff217
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 31 04:29:38 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 04:29:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4fc44c3
dev-python/botocore: Bump to 1.35.52
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.35.52.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index b00188292fc4..c4889eddee62 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,3 +3,4 @@ DIST botocore-1.35.44.gh.tar.gz 13472693 BLAKE2B
a38fd45888ee1e77d7dec3fbd5aeb9f
DIST botocore-1.35.49.gh.tar.gz 13473579 BLAKE2B
0b1a0e8ec76ad0d4ec677532626c4f34383828415ae6a6dc318a8e7864f2756c5618e0086a02f29726844e585895492b0e80d5e944e67fa5c233122a35a75eab
SHA512
abcbcd3e8c5c4704755f83290aa8c65ee703c5f75cecab45d58451e2960f341e73042b61c28fd42a671562b25795255392d13db60c6c9d2f944f04ede6d3e78d
DIST botocore-1.35.50.gh.tar.gz 13480380 BLAKE2B
c75e98122762a9f061006019c3e8b12b3b374dc98236943e7d566a12faf791606e15e90cabd80e7ebe1b0b8f7cec8f39ca4d0852c80b95347bf5953cfbcdbd15
SHA512
41af923db98efcf885661ee9fc7debdd659df66a56b6bacda3aee5aeaa5eb774668e3617485c06eace75b7aa71f04abf7c6481c7d5a5a0c170f9add37ca8a8db
DIST botocore-1.35.51.gh.tar.gz 13481192 BLAKE2B
a1b5689178cf800baf69965a8b69ba317aeb0c8f4752973ea01c4f9ec4720aa1538dbbcf242a834374a7943597d012c2f1961b813a79648690fa06d6f3aee168
SHA512
40a00597ebf30548addef59a0e4c9c78fd7ffcbdff961a8ec15954d3b30b94fb5600c1cbb1e4e98a89c034958bf0ff55f71721cb8637a9a3439cb8cce188e132
+DIST botocore-1.35.52.gh.tar.gz 13562020 BLAKE2B
3164243950d4f7cfee0d2b01c46ed9c61ac2db4361dd32caea263b4f424b3e35e7eef66c0e0885081b7ba81f3fdac3b7825b8cfd83d50e645489e9a05d2f20ee
SHA512
ff2bd96033395f960c334574d3158832af35464119e4e66bb265964b34852fcb701b9dff8ce6c4337fa883926df949fc3236b946849c9815e7e9dcccfe9f14cc
diff --git a/dev-python/botocore/botocore-1.35.52.ebuild
b/dev-python/botocore/botocore-1.35.52.ebuild
new file mode 100644
index 000000000000..0f88c5cbe9f3
--- /dev/null
+++ b/dev-python/botocore/botocore-1.35.52.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}
+}