commit: 874be5a65576400cf0dbc6389b6cc7747bbc3062
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 02:31:08 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 02:31:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874be5a6
dev-python/botocore: Bump to 1.34.48
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.34.48.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 0ca3c8ead5d3..c950ea8ecbb5 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.34.44.gh.tar.gz 12716767 BLAKE2B
335d59ae57ae5a5a1bdb44c3e196dff
DIST botocore-1.34.45.gh.tar.gz 12726866 BLAKE2B
c5095199626afcd7d83ff62623593f1863aa068a05347adcc738b1b168e8f0f224d6370bd05f71f8fa72dd0f2180067016d37956b332d6cfa42ea5e68c4d9bb3
SHA512
2aff40aa39a431bd9ee99ee30e136051e2b9039dc2bbdd6a36bd1108e470f6dbda5ad23534b9b148799b27d4c7eb0806698ae2f05dbee94a6ff6ee3fe087dcf1
DIST botocore-1.34.46.gh.tar.gz 12726577 BLAKE2B
0c1574bd5e045bc478e44f300d64d5d56489246ad7cddc1ae19e2ad9080abbf30985330e435b833acfb1f1ded46e60ee2e70e1273568a93b69a47018df68ff4a
SHA512
9ff234090e3a315612cd97e36ec5eb577d799465c4bb99ef1a5b2efbd83ce3cd5de94300996381c704896efd6bbb612a9b76831040dfd68f9cf86a821680b24b
DIST botocore-1.34.47.gh.tar.gz 12728346 BLAKE2B
c1b596764ebb5c02cc9ae925e1b8610e4eb425a8adfd55434790f187c80470a78a670c4d78af15cbb08bacd35d4ff118a5eda379d086ae721510d08670984a79
SHA512
d65db0a8cd4d1e3558a493c067e894c40ca9a0cd514e488bc8f346d745b2b81d7b77f2f2161f2c14e69f7a22b891eb81465f637669df9ca8bd8f8ab73ac2e2ed
+DIST botocore-1.34.48.gh.tar.gz 12729784 BLAKE2B
a6206421ada02ef55a5129735332deec59d3731b4901fbac4370391fa84faca6f996323ce08211390e3f96ce527620a5b771863efdbe07dc4880282b63b67564
SHA512
00395ee882d3a8ade1ac53525127216cb5e66d59580aa0496c2d7e98812c88b999ac5dfa89d3fd182a96bf4e1023faf73bb99064af471c37b4742c028e9b108a
diff --git a/dev-python/botocore/botocore-1.34.48.ebuild
b/dev-python/botocore/botocore-1.34.48.ebuild
new file mode 100644
index 000000000000..ba6cd2a5d2a2
--- /dev/null
+++ b/dev-python/botocore/botocore-1.34.48.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}
+}