commit: 6e8493fd729de549d68d576b861b2d1d5deb651d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 8 04:17:52 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 8 04:17:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e8493fd
dev-python/botocore: Bump to 1.34.122
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.34.122.ebuild | 67 ++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index ab516c2ec539..ba8986719b3f 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.34.118.gh.tar.gz 13078257 BLAKE2B
3fbd875002373cd883daee9b2f5669
DIST botocore-1.34.119.gh.tar.gz 13095281 BLAKE2B
81fed94cb671b4f7bbd0705a8eb7f8e3eb782d40307549edb81f042e9ad3ea22554cc60f02d614a9010c7d501b8cb41ceaecfc9a16d961c31fbf4dc4cf98ec15
SHA512
c48a2d8d4b048a1b0c0ef7ba81a7e1565d4bebc02a38c579d46c1ab23b594310e3f40fc1323b1bcbce47e156a00e82b52518297372ed34e5a45f1f0d98a600d4
DIST botocore-1.34.120.gh.tar.gz 13097207 BLAKE2B
241a9022f4366128da6f8f35050227c9117b1e31e2ca89e07517ca518d2d39c9c9c69f91e916a54d66e2b90786a407dde0a416380e8821819ad42bd50c546107
SHA512
a3bec99a218424e8b63fcd69df4ac6ec2ab5a6cd3e7b0f58aee649a2b42965290669ca8385d2d959e356a7b0bae101e780d3706542bd8b7b8d53596c16460e3e
DIST botocore-1.34.121.gh.tar.gz 13062301 BLAKE2B
ed7220d6c88365402f3dd6517eae6cecea67179584db2f145f67f21f82aae18e45ee4cb622b57590b29a8dda29ff41459b95779410ceef957b8359c51709d734
SHA512
45f8b9fc5af43061e36d7d7d5cec94f5149ec03e30931f6f688cc325e7378f9ae244c58757429f12845b7fc01c7c0ea149b36c2362b50b770f71107d57cd67f8
+DIST botocore-1.34.122.gh.tar.gz 13066937 BLAKE2B
f22af79873b5574ae4b2b9041568cfc1d727625c3fa45c9b8d1bef71ffcce893aa8a3591c83160437c7e617be72814a2209569db633d857f869a2152af7c8e05
SHA512
f08dcb2920d4bd26a47478edb871f75b240275a7b96acf58be838080dddca3d4f64b9fda8683e5a3db97defe367298b2ba634fc4d605523805b23c83c3a5ae0d
diff --git a/dev-python/botocore/botocore-1.34.122.ebuild
b/dev-python/botocore/botocore-1.34.122.ebuild
new file mode 100644
index 000000000000..ba6cd2a5d2a2
--- /dev/null
+++ b/dev-python/botocore/botocore-1.34.122.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}
+}