commit: 39fa9e98a08617fcf10b7a1dd944c2b5dc3b6660
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 13 07:31:07 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 13 09:37:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39fa9e98
dev-python/botocore: Bump to 1.23.5
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.23.5.ebuild | 64 ++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 054b1959cf9..514164b7934 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -7,3 +7,4 @@ DIST botocore-1.23.1.tar.gz 8353252 BLAKE2B
e29dc3a2112c24f244d25336964605ba14a0
DIST botocore-1.23.2.tar.gz 8356426 BLAKE2B
e8ab05b2adb4892460e681ac815461fd917005dc71baf7996b621855c69f5871e012441e3b788dc3d128e615607a711bc2705e65ed1eeefa9fd1b97d980a79af
SHA512
a2a741ec5a58a3fce9002f719e03bc2e3cb86f85c84868167b38820e36b16d0a495b0c74b97479f6e0f976b9a0fedfe968f8d738217f61ba780a47a7a046ffb4
DIST botocore-1.23.3.tar.gz 8367493 BLAKE2B
6e7c27dd69d1256b1d874b330537fb76dae348986ba5764f0568b1e1092b3bb1c069aedb3e6410562a8210a615ca4b1f792fe05d531a08c7c015c47f8ca5f053
SHA512
a7246fbe64df68f49755008de542cce4c166e2421f339cdeb5e45a9e66562bbf9e497b1fdb6014fceedd10db9d1d96d38c19bc77c5d68bec4259621ab0ed0429
DIST botocore-1.23.4.tar.gz 8368440 BLAKE2B
62756f2449b66bc970fd9b391afca8e2a71ffb5cbb3d7c33938916bbd4da29bca8e616000554eb25dc0f5f40143c6dbb381da09cbebd37a66ec2f3d40c0863d8
SHA512
417e6b2b4d18acb03eba8c3e5a58ed0c790d630fedb571e33e5e79020272442078c3276c5be9853a815f1b0b2b5143e85bc2ed3f46ca8cee2f7fe45fa59c5bfb
+DIST botocore-1.23.5.tar.gz 8374467 BLAKE2B
467092e7d8aa5ccb756132669049865445a47205913964c1c944b20caaf100b1efdd1bf3af9c5416ff079b487e6d4d08ffe6208e2b352d09655cc5be21c88739
SHA512
6afca19b724f9019f21e5993ce970d605b95d31c1a4e969ec1b4080510a5a120b3fa0cfd5ade973a9203bd6b7983a3dbca2f7a03108a9167392efd60d5e2fe9b
diff --git a/dev-python/botocore/botocore-1.23.5.ebuild
b/dev-python/botocore/botocore-1.23.5.ebuild
new file mode 100644
index 00000000000..7337877443c
--- /dev/null
+++ b/dev-python/botocore/botocore-1.23.5.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Low-level, data-driven core of boto 3"
+HOMEPAGE="https://github.com/boto/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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux
~x86-linux"
+fi
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/jmespath[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
+)
+
+distutils_enable_sphinx docs/source \
+ 'dev-python/guzzle_sphinx_theme'
+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
+ )
+
+ epytest tests/{functional,unit}
+}