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: Fri, 30 Jul 2021 05:55:59
Message-Id: 1627623010.5162910f6598a10c65ded94b6306e110001298cc.mgorny@gentoo
1 commit: 5162910f6598a10c65ded94b6306e110001298cc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 30 05:30:10 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 30 05:30:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5162910f
7
8 dev-python/botocore: Bump to 1.21.10
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.10.ebuild | 59 +++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 83bd255e061..f51e61f2ece 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -2,6 +2,7 @@ DIST botocore-1.20.104.tar.gz 7883624 BLAKE2B 4fb4c6abff5a2c3d3e19b11576e723f15a
21 DIST botocore-1.20.112.tar.gz 7917776 BLAKE2B 6a5ebf3d32c505ec2c1fc4cd3d97aa94c76b6206dda6ba28a946dfdc9973073019389c05d1cf09a0eced701fe86a9b8a292835415c0b1ceea75959a3186f65c6 SHA512 4b36367ffdd011aeb7654fd5c52c38e95bae4c55e5af85e38b0764140539ad1f8b9d75b0c7fd1009fda8d005ef4b17673b06f85a76b52fcebf05925297b6bbbf
22 DIST botocore-1.21.0.tar.gz 7955550 BLAKE2B 7e68375d07d858dc2071538c2382d8693df23fea5326938491c492abe55c060d0cdf98698cef9b06dac996a59c907ed780e5baadabbb7c10d5e41efa84c4750c SHA512 e56eea7f3c4f39f51ef1d53dfb42fd5d601167cca7c868b1cf2f291732a8cf90aaa874760f262085439df5726c6b610369a325e863533b593aa708fd901398a1
23 DIST botocore-1.21.1.tar.gz 7954248 BLAKE2B d6e7a71d6dd90ed0fcf0dbab3182dcdfa4072e65a1f344d44ac30abc829ac6c546a0ebcdee51f61ae65008550acf65052b49530ae3b3a62d81af222e6e8a0929 SHA512 86d4b4159a96426e7ab853b06564604fd9729011199ba691f6204a7e5f52d9927b93511b73cfc03b65bce706563c6d50b577d85d0de0e50fb5d877472d8326dc
24 +DIST botocore-1.21.10.tar.gz 8001298 BLAKE2B bbc762302462d9eb5e223245c8dd2430e6f190b643502d3a124e3831f531f014e49bb54bde768fc2dc7313e5b6ca7c78076a74511d724396370d1f699366ab44 SHA512 8e3c90d24ce5c6ae76376649c1ec191bdca162adfa8ab1b33903cffa9ccf2d7b306efe36b9d81f53f579170516c91c7c3f47a00d3033f5b691f2495b0ac97b88
25 DIST botocore-1.21.2.tar.gz 7960118 BLAKE2B 11d2845e1846c03591625a95b21ff6fe1acb1448414a5f09de1d427614e927d974fafe5dd5d4f195aeb2f3b86d60822a8c73f1bc532bb45c85be8421f92eedc3 SHA512 501f059518026bef10fe933d20a3348b4140cff9ef1af38e17552aea8698179135f5271604e988f53c215e3a13158d7784a49a6b56c0d4db591f99dac9c57ca8
26 DIST botocore-1.21.3.tar.gz 7959023 BLAKE2B aab15319b9f36c25ee88f2bf0b2efcb6bbffeac1b4e38dcbdfde3a947f702016e77b66c4b125ca2b63614223109fd793da68f9ce1b1d14476cdd6a3fcb10dfce SHA512 5a8ce8f612fd0e1c68a75223dda95673f72159b02a040d1a71920b7e75b3aa9d14589c33a52970182970a353308954e8cd6d5f97d374e0e2ee2cd40e0dce786e
27 DIST botocore-1.21.4.tar.gz 7964960 BLAKE2B 71d55b47633aa658a9dc921375c77230a6ebb89460d9de5a9982d730e03247972476400dbcf292da0a885789860117c1abc9bf803c79547049b242feb8755d15 SHA512 4a36e5870d9996973e2258f2e6afeb7381ac94d14075eaa9885f6f89afb87fa5b4461b02ab234b4ecc8e24630434dbb839e8ad30f622de6ffa5402f872f84a97
28
29 diff --git a/dev-python/botocore/botocore-1.21.10.ebuild b/dev-python/botocore/botocore-1.21.10.ebuild
30 new file mode 100644
31 index 00000000000..30e0988848a
32 --- /dev/null
33 +++ b/dev-python/botocore/botocore-1.21.10.ebuild
34 @@ -0,0 +1,59 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +PYTHON_COMPAT=( python3_{8..10} )
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Low-level, data-driven core of boto 3"
44 +HOMEPAGE="https://github.com/boto/botocore"
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +
48 +if [[ "${PV}" == "9999" ]]; then
49 + EGIT_REPO_URI="https://github.com/boto/botocore"
50 + inherit git-r3
51 +else
52 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
53 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
54 +fi
55 +
56 +RDEPEND="
57 + dev-python/six[${PYTHON_USEDEP}]
58 + dev-python/jmespath[${PYTHON_USEDEP}]
59 + dev-python/python-dateutil[${PYTHON_USEDEP}]
60 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
61 +"
62 +BDEPEND="
63 + test? (
64 + dev-python/mock[${PYTHON_USEDEP}]
65 + dev-python/jsonschema[${PYTHON_USEDEP}]
66 + )
67 +"
68 +
69 +PATCHES=(
70 + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
71 +)
72 +
73 +distutils_enable_sphinx docs/source \
74 + 'dev-python/guzzle_sphinx_theme'
75 +distutils_enable_tests nose
76 +
77 +src_prepare() {
78 + # unpin deps
79 + sed -i -e "s:>=.*':':" setup.py || die
80 + # very unstable
81 + sed -i -e 's:test_stress_test_token_bucket:_&:' \
82 + tests/functional/retries/test_bucket.py || die
83 + distutils-r1_src_prepare
84 +}
85 +
86 +python_test() {
87 + # note: suites need to be run separately as one of the unit tests
88 + # seems to be leaking mocks and breaking a few functional tests
89 + nosetests -v tests/unit ||
90 + die "unit tests failed under ${EPYTHON}"
91 + nosetests -v tests/functional ||
92 + die "functional tests failed under ${EPYTHON}"
93 +}