Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/
Date: Thu, 07 Oct 2021 07:21:19
Message-Id: 1633591262.30748f6539eb7eb90605cc062b370c175257bec7.mgorny@gentoo
1 commit: 30748f6539eb7eb90605cc062b370c175257bec7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 7 06:30:30 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 7 07:21:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30748f65
7
8 dev-python/botocore: Bump to 1.21.56
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/botocore/Manifest | 1 +
13 dev-python/botocore/botocore-1.21.56.ebuild | 50 +++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 49c54021f05..2420bb87225 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -4,3 +4,4 @@ DIST botocore-1.21.47.tar.gz 8183951 BLAKE2B 930fdccd5d45fb1fb88fec2370e65bff5eb
21 DIST botocore-1.21.53.tar.gz 8221904 BLAKE2B 79a87c9678fad9f3b4503740d9857579850eb2e6cf8371e233b9957b031e79aa04f28ce35b96826bfa4ff08c84a7ec646c8cd4302e5eb785530e8f3e2bf9b2f2 SHA512 0a3704d68a09a1afe53d4321d327036f4581d8c6942bc02f594c26d24fa2a60cfbbfab595cc3c4a4e9d3439790835739f7be8c3b572536feb655646c7800cf61
22 DIST botocore-1.21.54.tar.gz 8221388 BLAKE2B ea72e84b9ba5cb4d97a3a353f3fdd2fe80859a073c7edce5c0f593b12b90c575ec08aec8596ab0317a99b9cb56551ab222971317b62dadec8b168a9db21a36ac SHA512 bf5086e503b2c4e096597b2434d5ec67e2da9cf173890e5a6d68997b737f03a1f75e3f813251da05cf74d7b757da6b712e2bceab0c8239c1db71818a79dc3792
23 DIST botocore-1.21.55.tar.gz 8225756 BLAKE2B 8a0d333802cc196552d905c61716f601e2725c1b19a296a3e07b6f6e4b2deded5dadb68ab9de1aa5c2a07b34ec4c9eb333c2131e6a479998e150810a4b31e75e SHA512 2bd2bae733d2846c41415ddd07431abcd553f8220e87e228b1f91dd7b7af5b8f8918a43bd79a9b8d2b0196098c37b05eed6433859beb74f806bb20717ac41d8e
24 +DIST botocore-1.21.56.tar.gz 8227172 BLAKE2B 0a783e76c0a4a3ea577661a5995fdb2e53658aa462a6e59a950979c3c35864e94df1848aa5af40270e03833797bcd48c45f633dd8fbb198b2913df975f59069a SHA512 cb4f3e72f8d0bb9451b6b748e3763f6456937938047a2d9a6c5f47c498329b6930bc324e7d6f296952816c96aeb74047f7c2e33044abb551d289d24659a406e5
25
26 diff --git a/dev-python/botocore/botocore-1.21.56.ebuild b/dev-python/botocore/botocore-1.21.56.ebuild
27 new file mode 100644
28 index 00000000000..638620b2cbc
29 --- /dev/null
30 +++ b/dev-python/botocore/botocore-1.21.56.ebuild
31 @@ -0,0 +1,50 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Low-level, data-driven core of boto 3"
41 +HOMEPAGE="https://github.com/boto/botocore"
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +
45 +if [[ "${PV}" == "9999" ]]; then
46 + EGIT_REPO_URI="https://github.com/boto/botocore"
47 + inherit git-r3
48 +else
49 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
50 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
51 +fi
52 +
53 +RDEPEND="
54 + dev-python/six[${PYTHON_USEDEP}]
55 + dev-python/jmespath[${PYTHON_USEDEP}]
56 + dev-python/python-dateutil[${PYTHON_USEDEP}]
57 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
58 +"
59 +BDEPEND="
60 + test? (
61 + dev-python/jsonschema[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +PATCHES=(
66 + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
67 +)
68 +
69 +distutils_enable_sphinx docs/source \
70 + 'dev-python/guzzle_sphinx_theme'
71 +distutils_enable_tests pytest
72 +
73 +src_prepare() {
74 + # unpin deps
75 + sed -i -e "s:>=.*':':" setup.py || die
76 + distutils-r1_src_prepare
77 +}
78 +
79 +python_test() {
80 + epytest tests/{functional,unit}
81 +}