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, 27 Feb 2021 08:09:36
Message-Id: 1614413364.516422ff49ba64ba68b85084a08c020971412d61.mgorny@gentoo
1 commit: 516422ff49ba64ba68b85084a08c020971412d61
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 07:44:25 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 08:09:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=516422ff
7
8 dev-python/botocore: Bump to 1.20.17
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.20.17.ebuild | 59 +++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 433e7b698d4..30077819e3b 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -14,6 +14,7 @@ DIST botocore-1.20.13.tar.gz 7467277 BLAKE2B 9662965ecb4acf1c8ff90e2ee35100c5f14
21 DIST botocore-1.20.14.tar.gz 7470342 BLAKE2B 894b7471a1d1a483edd1f59bed604e9a389d88cb5035ccbf8149303fef7f135aadc6d7df7446e3969e0d17476f9fae2f30f8c9c3b4d995152d36da3bdd4b06f5 SHA512 d2cf24743aa72171ea6c1d804f189e8428fc24f315bc3f118f802932e081b2c75a53ff5c1803c66e3b23e0adb525d8e842f003a7156dd6311aeacd95c2599693
22 DIST botocore-1.20.15.tar.gz 7473239 BLAKE2B 7661c6c667b50bfff436752e723b4892c8f2967b4f95f6f7a869671451d2ecae6519fb43e813ba86a912e8003d3ca701c7285bd5f19739b8e1f40654bc419e29 SHA512 bb1f5fd9c7dc995826c6945d5bddbe623c6c40bb44dd0b20fd7806a94669994b836d527566825bd3730eb8a57460072d7da68d1630e287ce949f678700a93d84
23 DIST botocore-1.20.16.tar.gz 7474906 BLAKE2B 7aabd6ff432309c1716e02f348b4af3883e245cbd5f7f58cec9e08013cac926f9118cabf47054d89c5d079b2e28af446280db2096f3301d9593674b9f63a7c75 SHA512 4e9215c46048b7133f418a2980ab23a62ddb23e3ee1c3198f09a0383c9e9f89ec347dbf6cb24104a1e06086f95d9ea975819a28a6fb5f9fbd7210985e8dbf48a
24 +DIST botocore-1.20.17.tar.gz 7483893 BLAKE2B 5a9ea5c1d3bc5caa91ea939943d86236d58f24b440d7d0de96356836ee6417c62fece8e782f9fd81e14daefac8919a001adb95e67d42110709b7f07f849b71da SHA512 864f938d07b28341128c06186542c0c214a133f1b7a78990e357436463f7cd1a36031101f6588ee706073b78d4ef99571853658f77755eb9f0739882fc706634
25 DIST botocore-1.20.2.tar.gz 7446650 BLAKE2B 777dbcbfcd824a7d009ffc3a1aec8afbd14a097c61a49116db37c6957e6046b8cd0011cdcb3cc344944e568e9f24d15d625a51d0d2d87761279b449783ce9f68 SHA512 3e225dfa55febb9d7bf77dfcbf4b75c8505ed4a90a5a86cc6eea750b4ab7d8a2ceb16891d4473b1bd7ce1cfd43642ee32e20eea65a25d9d6da1a5f02067fa050
26 DIST botocore-1.20.3.tar.gz 7446281 BLAKE2B 536cbe8f6b6c150f3c66468f3e0c51ae0e602f277ff64ee67a2f149c0481fe603b10439e2fa37831b106d7ca4b23d1e7037cfc55c8e7caf06b8f9cf5561d9544 SHA512 ad0982fb9095e4d8e36a5805f5041fa1241526409d6a1fad3628c52d9870e54fd4a828816eb77f39b60f49ade7805e97cd286f7ac4070ebafbb696e513691e0f
27 DIST botocore-1.20.4.tar.gz 7447611 BLAKE2B 05cb501cf40748ac1053c4687bd6de7a17d9ac31fe688de8d6aaf8047260f230ea14cc947c4c208a11d26477508b38428fdca116b9fa8212c5ee6ac020a6367f SHA512 b3ec1597b1cf4e9d18e21216f9ba703e4ae0a924653d21cfd93eeffbb13041ad96c3cd099ff1c8631bdcd5c7d6a70e6d36848fdbc44de9f7cebf7ee223918743
28
29 diff --git a/dev-python/botocore/botocore-1.20.17.ebuild b/dev-python/botocore/botocore-1.20.17.ebuild
30 new file mode 100644
31 index 00000000000..4e5d698e619
32 --- /dev/null
33 +++ b/dev-python/botocore/botocore-1.20.17.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=7
39 +PYTHON_COMPAT=( python3_{7..9} )
40 +
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 ~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 +}