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, 11 Sep 2021 06:53:26
Message-Id: 1631343184.73271cff0c1de1402a12d1a1b0df88816abfa350.mgorny@gentoo
1 commit: 73271cff0c1de1402a12d1a1b0df88816abfa350
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 11 06:15:14 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 11 06:53:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73271cff
7
8 dev-python/botocore: Bump to 1.21.40
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.40.ebuild | 59 +++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 74be1465835..ac2437a28c8 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -6,4 +6,5 @@ DIST botocore-1.21.36.tar.gz 8120799 BLAKE2B 3150e1efeca3173001f22e5e577ec4d9872
21 DIST botocore-1.21.37.tar.gz 8123057 BLAKE2B 0e7c50bd5263db120f051e3d14c1a2f71db679c69cf22ca22f31a4e971d0aafe583b62e3d04083b5646663a87055bef73369d34b9ae825da25fe2bf4a76e58de SHA512 a81604b173216bce93b81a874b5f4defc84c9d1766f90c0fcd8b2ce9fa03867f11a08a6405f5e70006f10645a3729c2843c3f9c59bf37f901a5c07e73865f05c
22 DIST botocore-1.21.38.tar.gz 8145897 BLAKE2B fef3847b2f2b1423438ac7922d850d132c313bb2c1eac4c73b31ee48100f1096c218730b30b2255f14bdbcab945a5dc851898cc00c89b692c45404e6c2f902c2 SHA512 2f9d32424f6f8e9829e7c111a83ec8176c72647be9253057cacc6fb89a2f3c2bded8d81d7704df45998daa4721a3391a6d510ac8e5052eb7caf7323f37be95c9
23 DIST botocore-1.21.39.tar.gz 8146744 BLAKE2B 93e972da60e9fbd0c8cb5b65beac26c252b78762cec1a4c1018e64cc002ccab5468e8a510615efde23f7dfdbba601cc3842a004eef369ffe0afba29ea843530e SHA512 546a8c34752acd2a768cb6d7953a1a451f6c5f47a3ed8af9c7533d6a7bb3ff2e20df615aaa1bffa85ff137d4573a4ecdb5ffca2aa8d5c7d8555bf43c3a30871c
24 +DIST botocore-1.21.40.tar.gz 8149052 BLAKE2B 0554e2b9caa08b7518f1b51b5a980d98926782f0d4d523fa5c40dc66ecdf2db75719a36a2bf320c8d473119030693e0d1ab6bc7ea34c0574de7488bff5d7e411 SHA512 5466e15f8c09f3b4df13aee951d65219be86ccf1c0e73ed17e50fb7e2418f4694409676804bf6cf3ca638419512d903708e0994cff1f8105a19f0e26f0cabc31
25 DIST botocore-1.21.7.tar.gz 7977343 BLAKE2B 19c5bf5de40ab131585e30bb85486fcffc3428808811b312b33578174ce31a691f4f4d955462120f05d2aad2cd5e5772789704eee641760fb67099aa3cddc9b5 SHA512 db1bb36faa6857a1cc717e5d591954415bb948178ee2be90ab9c32c11b1fb45c5b5aff87dfacd907c2f11bc7cdd2cd4de2ee9c847fa8cda4e5f0814a828b1019
26
27 diff --git a/dev-python/botocore/botocore-1.21.40.ebuild b/dev-python/botocore/botocore-1.21.40.ebuild
28 new file mode 100644
29 index 00000000000..30e0988848a
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.21.40.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 +}