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: Tue, 01 Dec 2020 10:32:13
Message-Id: 1606818718.d4f21ced0f9d8deed40610f54b08afd174640021.mgorny@gentoo
1 commit: d4f21ced0f9d8deed40610f54b08afd174640021
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 1 08:54:08 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 1 10:31:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f21ced
7
8 dev-python/botocore: Bump to 1.19.26
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.19.26.ebuild | 59 +++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 91cd28a6257..dfca16c4520 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -6,4 +6,5 @@ DIST botocore-1.19.22.tar.gz 7073938 BLAKE2B 41ec38e7abdff5e6fd4530dd39522a13d10
21 DIST botocore-1.19.23.tar.gz 7090433 BLAKE2B c5b6801e169b7c0325b33b005be0e4096442d5f9e09e7223d6668cdbd7a68b977284b4e660be5dfbf30ae661202691866dff2b3b1639d7467b3ff21ed6c90702 SHA512 9e984c48109f17126e380b0194e998c65ef02cba83ce3be6b3398a5913a41e23607779c82b90814d8193abdeb3a6cecedb443a6fc5d8d6b7ccb68ed0a0e0bc37
22 DIST botocore-1.19.24.tar.gz 7111127 BLAKE2B 61f368b4e8dad8d3a03d2a73cef68f7971bbe3a2173c55689eeacc166a983c8986039f62222884176f05df13002e31868ca498664f46452362f289bd44d8df2c SHA512 42ca145f9e47b61715c816add725758dcf617c663dcd0beee29e66a28047d3bd7908ce10b7614afe9111a539e74f436286b876c107bc3591f5689619939a4551
23 DIST botocore-1.19.25.tar.gz 7125010 BLAKE2B 18c03d1e61beb5b92fa958cbd6ad10d6048b51fd6b244187cfd27be0b3a0132bc2cdd0598d933cfde62a5f9cf92d2ddd2a0b7e269ace6e3319a3e37af2037bc9 SHA512 0cc4b015957330fbc5654b33953943c845c955a8fabb7b33672d496d68fe0e8783b1ba3254695bcdb7fa4b3775464f5c09af04e09931e38ba95710a6f0aa8320
24 +DIST botocore-1.19.26.tar.gz 7124956 BLAKE2B 6091c9536de9a3171a2327ca1d1531799fa28af48870e37de8251b42a947a7f26881ee787964cd95a070acdcb4f3b634a816ab74a519b72287e61ad11aadeaa0 SHA512 bfdf3ff4fce1463fd1cb6fc2f8a97782d68388668b6dc3ffd0a0a3fac3d0f6b7da645c0a0d2d9183096c44b8b99dc2a0a9e1a29a7bc4b7ff0cbbbc3fb066f191
25 DIST botocore-1.19.9.tar.gz 6972834 BLAKE2B 3407c056c7995cc1ccb1b5b4c5b3a6254e38672b52e7889a7a022520283416e4dfcabd05c8ca0ed78e4624c7a20c9f43bfde87a76d7a72660b4c95256e4f9ca4 SHA512 8433f22ae7652e524a82da8d2ccda48da9eef44788333898b7526335d57a7757b80754f0d5c6a2c84ec3bde2ec9fc7da5cf872cbda7286f620b4f4878fe9a583
26
27 diff --git a/dev-python/botocore/botocore-1.19.26.ebuild b/dev-python/botocore/botocore-1.19.26.ebuild
28 new file mode 100644
29 index 00000000000..ca40b64d111
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.19.26.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +PYTHON_COMPAT=( python3_{6..9} )
38 +
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 ~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 +}