commit: f35b94e0bc1eedb9aaf1a36479085b8bd74137f4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 1 03:50:41 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 1 04:36:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f35b94e0
dev-python/botocore: Bump to 1.31.75
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.31.75.ebuild | 68 +++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 14aef2d40287..5266ef0ef0fc 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -2,3 +2,4 @@ DIST botocore-1.31.63.gh.tar.gz 11975759 BLAKE2B
3e757c6303f3390d3d563187c471400
DIST botocore-1.31.68.gh.tar.gz 11989788 BLAKE2B
d8d34511e3ef65f54e1b305cf60cdb98e43ed7f773da2d84abd2ba45277d0f244080dd9b86fb5ea75a1af3820f27e4255f5f78bf67415e18cff2be30cc625bd4
SHA512
7ec8bd1e2036f17dbaeec4b65e6100c0b5c163f3e05d7e4723f7f1bac75d561f1a2d76331021552cb08093c6e85858e6a76cb9846114adf9deacf97dd94135a0
DIST botocore-1.31.73.gh.tar.gz 12009409 BLAKE2B
949ecb6e85141ca8e3c01e05f996e47f63e0967ec85dde5772f27d564abca001c642ca1991f45b8fec05f7c105f22f713c5e3a8b5e8a8ea3a1a2026abc92fdac
SHA512
cd9f77aad6f17d06a04206abc2ae34285423581f6ae5d1c70635d43dc22d73d46842048f0a0f955147c8fb5e5a071e8d4d597a3f9c28146c74957f4b18c8cd22
DIST botocore-1.31.74.gh.tar.gz 12017398 BLAKE2B
48c8dd01b28eaac3b3ee3e9841cf82f4aee030a5715407072cd288c1de0d6db512c591a08490b3283a8754a9e64f59c2db5d3096146d2b06cfc6a9d0d47bc12a
SHA512
c5466ae62f13cfd5c6416b1e1e0cc8c9b39f098ac3927ea6257beee0d7c7d0a8215d80b63da5340d4c041bc572341f4c813a99444b68c67276f26f2b4d9e3825
+DIST botocore-1.31.75.gh.tar.gz 12020716 BLAKE2B
35c9f70100bcd1e7f34fc3ca3f146e4eb81af62c68d56fff7998ed6ef7adf2065a5ffd7aef3005a7836cfd27f79b5724754b00f10824d6836c3b709e34218453
SHA512
4d4f46eb5db5368fef6ccc5a40d9d8467a184ca67b9a8c4c662215dc7398a746c5412cdac7d32ecbd8a794373b1e416fb9b5a7c71b0e705246370b84489cec6e
diff --git a/dev-python/botocore/botocore-1.31.75.ebuild
b/dev-python/botocore/botocore-1.31.75.ebuild
new file mode 100644
index 000000000000..7cacb5c3f634
--- /dev/null
+++ b/dev-python/botocore/botocore-1.31.75.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)"
+}