commit: cc93a9e94cdef003761e683bbd9d72032dd8ecec
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 7 03:13:01 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 7 03:58:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc93a9e9
dev-python/botocore: Bump to 1.33.9
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.33.9.ebuild | 68 ++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index d792937ef87c..72c2fcd68ed8 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,3 +3,4 @@ DIST botocore-1.32.6.gh.tar.gz 12201067 BLAKE2B
434581b5047aca3909b586c49b01085e
DIST botocore-1.33.6.gh.tar.gz 12516087 BLAKE2B
da3ca22acb5b6ee27eb3c0f7dab4ad43597ab985aa7512f4f4a51c2ca3db80a049e13faaf986dd4a02125f92c088129506651125a826184656250665dc7b7128
SHA512
cae5019d85c9b3afcfd93fe58d0e51c5a6e0769d58b2a8b1285a34ce66be8db34e9c5dc4dc74ff72e0992cdd142d101e3663fa1d68a2779fa9c09de37d2f2001
DIST botocore-1.33.7.gh.tar.gz 12519396 BLAKE2B
dde3ea6432d55e14c4c57adc9153857872a556379cce0a37e08c460c676f31658d4e74b354b44514fc9dc8154cf2683b5889dc9659a867af67ef48dd393cf6f3
SHA512
4704ff247983f4492f95b919876caffa8414a6b710e76defcc23a7a08ab3056f5631b3a1698f8e402a0ca6f69ad5d9d91a4cd18c6d3d0ebce650dea8db3ee917
DIST botocore-1.33.8.gh.tar.gz 12518729 BLAKE2B
fb74eaa99bc9b62d0616585c934a45d73a7573544708f6d163288428aa19fbda3f09ef36ba65c310bf4f00cac1c932ff2ed0baf2dfbbeb823b791417d1dad0ab
SHA512
c983750b922866e6457b42adfb9661f426d1285e1cab1ad16064c95ed6a79a5bd67882e7014e5dba7c630bbcf95b634349515e9c1b57de9142a94d767f38de66
+DIST botocore-1.33.9.gh.tar.gz 12521140 BLAKE2B
3b2f58d11f13123c49ef674be3dfa403cdea6957ae019cf7c76cb613b4fc13e25e90b1bd3bbee75732e211629058d0fe343c4e9ed070800a52fe87aa36f8b6ee
SHA512
bc5233bf81a02117d5d248ad00db1d487b23dd253af928da03adca95a14d4b5df111393436070e63c2fe285dc78e0fb6f8e6a93e5a7332efbd17f31c47427944
diff --git a/dev-python/botocore/botocore-1.33.9.ebuild
b/dev-python/botocore/botocore-1.33.9.ebuild
new file mode 100644
index 000000000000..05766e84276c
--- /dev/null
+++ b/dev-python/botocore/botocore-1.33.9.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
+
+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}]
+ )
+"
+
+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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit}
+}