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: Wed, 01 Sep 2021 04:55:32
Message-Id: 1630472116.d26a9d62e3b90ac7d0e92aed826f9f2e68b28e94.mgorny@gentoo
1 commit: d26a9d62e3b90ac7d0e92aed826f9f2e68b28e94
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 1 04:42:20 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 1 04:55:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d26a9d62
7
8 dev-python/botocore: Bump to 1.21.33
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.33.ebuild | 59 +++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 69faa881bda..f3627fc5d68 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -9,4 +9,5 @@ DIST botocore-1.21.29.tar.gz 8079625 BLAKE2B c396b453893782f94e503cb581efe5beb2a
21 DIST botocore-1.21.30.tar.gz 8081027 BLAKE2B 6566d74873c08ce84f6bd0e6a802e62c6cf21956136f2e3991e1b498c3ac4f6a11b17a3d8b44595f4d4b5ef5e9b2a6bd71802e5f0270b8cc1473e8fc94e0db5c SHA512 fdc4991ac8fccb71c82542b05c25edba1607381289e384786079bd3b9efda527e0aecccd29fc372ff5b8d265a204fc570bbf7191683a36d9cb9e43a2153fe685
22 DIST botocore-1.21.31.tar.gz 8081621 BLAKE2B 78bd0ad2d1371582e97c8ddddb9a0b9f41fd75d701ba2ad49fab0e6f3d4602eb6a06bb51f23f674ef71d8c0bcec39ab545071ec8ef252df1c9d9133d8223a746 SHA512 bdaa85ad59936334e8d0e57a0e6631bb1c4408a0b9a50eb883b9b9dc5df4845da2df0fc64af755c5bb2ce5ee667c449a751263e25c9912bcb335eaa41cbba95e
23 DIST botocore-1.21.32.tar.gz 8083411 BLAKE2B f43cffb2b8dba99e9d893dc6842593525a5545878b52680f8418f86f01f1804dfd1439087092a71d1d9933b63e09615c781e52be8eb5176fb18d1808f0125d18 SHA512 a6d8ca645c3b00b04579be86febd232eac8929f1b58582948208d5b1cc82686c76327302c7459123be8e7a44bece1249ece58fe47619082916e383c0ee6c11a9
24 +DIST botocore-1.21.33.tar.gz 8091142 BLAKE2B 832df8535696227ccd0cfbe16d6084048b5d409f117a1142d97296107466371782ff20d8bd3fbf3bd8a90fe5c23e3b746e55a99014c7203dd5c7c1c1b17fbbb8 SHA512 6618f6b53664a62d10b5edd1845880655e88ff8ef7ed2b35ac0a9b18f0135302d148c12cdc6e588f25a328ac8da5e88174873a021078e8be3dc542da7e1579a8
25 DIST botocore-1.21.7.tar.gz 7977343 BLAKE2B 19c5bf5de40ab131585e30bb85486fcffc3428808811b312b33578174ce31a691f4f4d955462120f05d2aad2cd5e5772789704eee641760fb67099aa3cddc9b5 SHA512 db1bb36faa6857a1cc717e5d591954415bb948178ee2be90ab9c32c11b1fb45c5b5aff87dfacd907c2f11bc7cdd2cd4de2ee9c847fa8cda4e5f0814a828b1019
26
27 diff --git a/dev-python/botocore/botocore-1.21.33.ebuild b/dev-python/botocore/botocore-1.21.33.ebuild
28 new file mode 100644
29 index 00000000000..30e0988848a
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.21.33.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Low-level, data-driven core of boto 3"
42 +HOMEPAGE="https://github.com/boto/botocore"
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +
46 +if [[ "${PV}" == "9999" ]]; then
47 + EGIT_REPO_URI="https://github.com/boto/botocore"
48 + inherit git-r3
49 +else
50 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
51 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
52 +fi
53 +
54 +RDEPEND="
55 + dev-python/six[${PYTHON_USEDEP}]
56 + dev-python/jmespath[${PYTHON_USEDEP}]
57 + dev-python/python-dateutil[${PYTHON_USEDEP}]
58 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
59 +"
60 +BDEPEND="
61 + test? (
62 + dev-python/mock[${PYTHON_USEDEP}]
63 + dev-python/jsonschema[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +PATCHES=(
68 + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
69 +)
70 +
71 +distutils_enable_sphinx docs/source \
72 + 'dev-python/guzzle_sphinx_theme'
73 +distutils_enable_tests nose
74 +
75 +src_prepare() {
76 + # unpin deps
77 + sed -i -e "s:>=.*':':" setup.py || die
78 + # very unstable
79 + sed -i -e 's:test_stress_test_token_bucket:_&:' \
80 + tests/functional/retries/test_bucket.py || die
81 + distutils-r1_src_prepare
82 +}
83 +
84 +python_test() {
85 + # note: suites need to be run separately as one of the unit tests
86 + # seems to be leaking mocks and breaking a few functional tests
87 + nosetests -v tests/unit ||
88 + die "unit tests failed under ${EPYTHON}"
89 + nosetests -v tests/functional ||
90 + die "functional tests failed under ${EPYTHON}"
91 +}