commit:     a70570158da584084035afc466ae25fa65711fc7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 30 22:32:38 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 30 23:00:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7057015

dev-python/botocore: Bump to 1.19.46

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/botocore/Manifest                |  1 +
 dev-python/botocore/botocore-1.19.46.ebuild | 59 +++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 11c00d0d0be..32343b0ef59 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -7,3 +7,4 @@ DIST botocore-1.19.42.tar.gz 7371856 BLAKE2B 
09d0ebbb495bc590c4f944a7ca6d91d5069
 DIST botocore-1.19.43.tar.gz 7374325 BLAKE2B 
7def5221bee4774a6b8a33e6499e499588ff18f8b144e669bdf9b01ae4a3e370e3aed5a3a960360123e57299da9b0293aa8da9108fe114f8ae34521b2920f479
 SHA512 
a1b97cbb779d8c8fe3495dd18d3d635e38c5c49e5b5fb31b7764029cf3063a7fda44711defc45783b3afb844bead46e686705af57472a7ff27af8b7e21645ad5
 DIST botocore-1.19.44.tar.gz 7374043 BLAKE2B 
57548d1ccf963c1c2c33f9fdb365e04d60afc63f6112fdf689c7caab89dc242f94ae1680e69a24cb709c8b7e1190acf12e487a9289a482d7f96c02820b4b13ac
 SHA512 
d865780c8f904b3f67c61a1e073ff4e2c6f77478168dcd98b034634a1796c07a94d8125033fc7475c7554898a73d3def8225a88eb5ec01d9064ea8737cc9eb23
 DIST botocore-1.19.45.tar.gz 7378425 BLAKE2B 
868976d31dbc78e6d985734cd5dd4b6fd90e507188a85d0f11da73f222bafdf00010484917ab7537270e2e504265ce0c4fb77e6515e1b4b9085b9e787c226593
 SHA512 
79dbe8a3325fb2db3f52b3258a02910670ab1867c2c23c58389da2c60df89d671d716560575e450e7d218313805b1ce259b85ed59fdee668f2c2d6910fef78f2
+DIST botocore-1.19.46.tar.gz 7377742 BLAKE2B 
c80c6f3a21e4d460d4be198762dad44055744ca3b555d73d72f61647e585296a8748f0daa3b8f73c56a1fb6182efd904d5081d2ba13f7380c22a2be328638fc7
 SHA512 
5ff8dc2179394dc64b2a634eb81d8b9c1b3a7244da79adafdcb64de4347ce8820a319ca4c7ecb71f537f09ec51a9a55cabf3735e910eb8c14d2bcd663a963bb3

diff --git a/dev-python/botocore/botocore-1.19.46.ebuild 
b/dev-python/botocore/botocore-1.19.46.ebuild
new file mode 100644
index 00000000000..ca40b64d111
--- /dev/null
+++ b/dev-python/botocore/botocore-1.19.46.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+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 ~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/mock[${PYTHON_USEDEP}]
+               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 nose
+
+src_prepare() {
+       # unpin deps
+       sed -i -e "s:>=.*':':" setup.py || die
+       # very unstable
+       sed -i -e 's:test_stress_test_token_bucket:_&:' \
+               tests/functional/retries/test_bucket.py || die
+       distutils-r1_src_prepare
+}
+
+python_test() {
+       # note: suites need to be run separately as one of the unit tests
+       # seems to be leaking mocks and breaking a few functional tests
+       nosetests -v tests/unit ||
+               die "unit tests failed under ${EPYTHON}"
+       nosetests -v tests/functional ||
+               die "functional tests failed under ${EPYTHON}"
+}

Reply via email to