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: Sat, 09 Oct 2021 07:08:36
Message-Id: 1633763280.e2ce0174d5d8a0bd4f4cac2382d2f7bbfee6bad3.mgorny@gentoo
1 commit: e2ce0174d5d8a0bd4f4cac2382d2f7bbfee6bad3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 9 05:43:45 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 9 07:08:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2ce0174
7
8 dev-python/botocore: Bump to 1.21.58
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.58.ebuild | 50 +++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 5a0b1c01308..cd9c64dcdee 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -6,3 +6,4 @@ DIST botocore-1.21.54.tar.gz 8221388 BLAKE2B ea72e84b9ba5cb4d97a3a353f3fdd2fe808
21 DIST botocore-1.21.55.tar.gz 8225756 BLAKE2B 8a0d333802cc196552d905c61716f601e2725c1b19a296a3e07b6f6e4b2deded5dadb68ab9de1aa5c2a07b34ec4c9eb333c2131e6a479998e150810a4b31e75e SHA512 2bd2bae733d2846c41415ddd07431abcd553f8220e87e228b1f91dd7b7af5b8f8918a43bd79a9b8d2b0196098c37b05eed6433859beb74f806bb20717ac41d8e
22 DIST botocore-1.21.56.tar.gz 8227172 BLAKE2B 0a783e76c0a4a3ea577661a5995fdb2e53658aa462a6e59a950979c3c35864e94df1848aa5af40270e03833797bcd48c45f633dd8fbb198b2913df975f59069a SHA512 cb4f3e72f8d0bb9451b6b748e3763f6456937938047a2d9a6c5f47c498329b6930bc324e7d6f296952816c96aeb74047f7c2e33044abb551d289d24659a406e5
23 DIST botocore-1.21.57.tar.gz 8239528 BLAKE2B d2b98f37468e0faf593d5fd42341dcab32d7ade253c80929722adbe7523ed6efb2b491a12b4335faf779703acc6eabbd3e1c6e0a02994d24dd13cea7d376bf6e SHA512 6bfcd57c7ac77c1098004e5e8a77c14a3718099eda5af00fbcaa0f54fabd93caf0ce66212c5807ae58d565cadfee25dfdcff9dcef8a68e66ba74f03ee28acfb9
24 +DIST botocore-1.21.58.tar.gz 8243903 BLAKE2B a8666451aa7e39114afce45d1eb82fed8f1747b6f994dc5ec76f8c675c363fd196c2c23d26738ca2a1c67e451d2eff1024d01ef97ff0dfb425d8fa85a9c0eef6 SHA512 424f13d7f3c5c2b3b2546cf42f22588a53c407867c8e2672c01f6c3791d101ff42f5d7a300cffbcccafdfc78f28a4386ef9acc4562de3c124198d1c898e5701d
25
26 diff --git a/dev-python/botocore/botocore-1.21.58.ebuild b/dev-python/botocore/botocore-1.21.58.ebuild
27 new file mode 100644
28 index 00000000000..638620b2cbc
29 --- /dev/null
30 +++ b/dev-python/botocore/botocore-1.21.58.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 +}