commit: a340dc17a273fe8f7a4350e602890afb871e0f06
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 06:20:34 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 07:09:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a340dc17
dev-python/botocore: Bump to 1.35.68
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.35.68.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 4cf702433ca3..86849b611e47 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.35.64.gh.tar.gz 13718535 BLAKE2B
6fb1e8f858b9b5ea0796df76bed1df5
DIST botocore-1.35.65.gh.tar.gz 13727546 BLAKE2B
a910934f226ca55c2cc55763f7a3eebdfe299410b9a99aadab3d938b864056063649984527f161969a3b0840bfad1e0bab07042c49de1efc8d25a3e17d33c496
SHA512
d7116f80522c3f5bafb29b7688800752539ee2ff06e53fd6b2a9c9cf3f37f9dcb3a731ec08d2cf735f737cabff3f5aa8314df697748135c56902c0ff4a3040ec
DIST botocore-1.35.66.gh.tar.gz 13752979 BLAKE2B
cd8732c85c471c8360e6680e574a098e039020a22e4634f8c1f00df104e80b462f80be88db5b8f58e4d230acee8334ac8a5730fa63b8ced1f26e30922596f7d5
SHA512
29cd9ddbe8e51c5610ff1616c772da362721960eef72e95bf16559f175fa4ab908d54bf095154c6743f0fdcb057c966352beea693cc10b00ec7bf590da3e7e50
DIST botocore-1.35.67.gh.tar.gz 13825419 BLAKE2B
3db50d138ff06df33dc5f5f42c409bfe70a8e5e8a8807d63049787a41f9dd81a3fa48dd26ac7510436dfee35ff6177e6ef04fa01da07057baea5afb7f53ab661
SHA512
61d829baea6a38bf005f85773789221190afd35eeb17d068e34d9aa425991cc29e2b896cca84e0ab29ff11911e69947d5b6aead574ed5b7498958ffb2e0443e5
+DIST botocore-1.35.68.gh.tar.gz 13887015 BLAKE2B
f49ea77be07628c9c0a471a76b87bc2b2e0371afdfdaf6da2ad39fdc828376dff14681167a2989b440f37fc5754dae12c7160cb14fb82187acbcf07e34647fc3
SHA512
e31ff9022f29e4cacd9c6085e9c8741d799986746e34965c37e12d8ecfc3a5f4fed8e14045e9ce4f2f552f31d07641ffe8a0209d9d220b942e1b54c2e0d0f848
diff --git a/dev-python/botocore/botocore-1.35.68.ebuild
b/dev-python/botocore/botocore-1.35.68.ebuild
new file mode 100644
index 000000000000..0f88c5cbe9f3
--- /dev/null
+++ b/dev-python/botocore/botocore-1.35.68.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}
+}