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, 29 Jun 2021 06:05:07
Message-Id: 1624946687.8789174ff4cea05361448b72909631f3cb446eaf.mgorny@gentoo
1 commit: 8789174ff4cea05361448b72909631f3cb446eaf
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 29 05:31:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 29 06:04:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8789174f
7
8 dev-python/botocore: Bump to 1.20.102
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.102.ebuild | 59 ++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 05658383dd6..fb60f77ddb5 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -1,5 +1,6 @@
21 DIST botocore-1.20.100.tar.gz 7870739 BLAKE2B 0af8337b44f78f0d66062c3e351e6c2805ab4e205e1404a698bad7240abf37f4fd47206c9b3f9a302053c933ab774e8842edefa38979b09d5b111b836137119f SHA512 af20cf638e48375b0adbadac5329aa62008def72e158159acbcdc200b250c0ac27e0ea568cd216ad8e81772b42491efed5a271f186d9caf0dc7e3bbf0197b7c6
22 DIST botocore-1.20.101.tar.gz 7872329 BLAKE2B 417f92e0747d32e9238e318af1f4063c86aca6364c63f312755efea6135df9415dd37dfa754896e78573329da0bb9e5f5609cbd836fd771e4ef185d691b1f5f3 SHA512 6641f14bbe9385acc764377be27b8d50f8eb0044330bc7248adc27c7605d4bcb489203f3953cd3ef17ec0f3e49d1df4e84f6ebce2c7d5b2b54d98406d836b49a
23 +DIST botocore-1.20.102.tar.gz 7881122 BLAKE2B 51d2acb780766a02a2b58bab10c22557614711e944c58fdbd78479a59e1139446a642da7a8192f2d37c22fa8fa60d27024fca68737601d143018a17669f8df4c SHA512 ee756829454bca50e872cc8cb3caa66ff9ff3cc1075a1afdf693d39e4e9f3c7953b1c69c13c78be594aee572752eb89700369985dfc57e7ebc772b444f8d8c91
24 DIST botocore-1.20.54.tar.gz 7650344 BLAKE2B 2dd0a3f8c7c5665e849cf74b663a88e63416f1dea8ca3ee7dbdf10cf35239d466919f2ae4b3c9a639b9e25a23d982b723b24f32ece43715d40283e96e3bf10f6 SHA512 77cdaf68378836205c94c7dfd8424f9ca44ac822fd418d323df30639157bb38e5534fcfbc5bb6cdd7695bec62e24a1d52b81a0be54b0f69f16d20c5182db004b
25 DIST botocore-1.20.74.tar.gz 7729804 BLAKE2B 0693da2be219ee140c5c00a540756d31651d3e4c78976a7f766705123e9fba23e98d73e551b86a6b661530c20abb560b0e36fea8e1c13600303894b3163d2274 SHA512 51bcf78c6804b4a8cddd57eeff96d7ecb65731dfbd87eb665de1356c1daedb4317323b3a0d905e3d459800d800ce6d6ffd8fd1239b26ecf56884bee37159f2b7
26 DIST botocore-1.20.78.tar.gz 7758829 BLAKE2B af13d6c1aa918e2c49c6dc931c9a78e1899c83e62657c063e20ba2a5544c48e4946018628e47d6a56db456a3a8d43fe3b577824bd76bbc339abaef375459932e SHA512 fc96ed8b6b4af05404654e470a4f83419b885fa32d9dc704727f4ffb3d5deeefa752d235b37fd81448b7f3b101bc0f8e7ea09ae8641f8961566f77f6a039cef9
27
28 diff --git a/dev-python/botocore/botocore-1.20.102.ebuild b/dev-python/botocore/botocore-1.20.102.ebuild
29 new file mode 100644
30 index 00000000000..30e0988848a
31 --- /dev/null
32 +++ b/dev-python/botocore/botocore-1.20.102.ebuild
33 @@ -0,0 +1,59 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Low-level, data-driven core of boto 3"
43 +HOMEPAGE="https://github.com/boto/botocore"
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +
47 +if [[ "${PV}" == "9999" ]]; then
48 + EGIT_REPO_URI="https://github.com/boto/botocore"
49 + inherit git-r3
50 +else
51 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
52 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
53 +fi
54 +
55 +RDEPEND="
56 + dev-python/six[${PYTHON_USEDEP}]
57 + dev-python/jmespath[${PYTHON_USEDEP}]
58 + dev-python/python-dateutil[${PYTHON_USEDEP}]
59 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + test? (
63 + dev-python/mock[${PYTHON_USEDEP}]
64 + dev-python/jsonschema[${PYTHON_USEDEP}]
65 + )
66 +"
67 +
68 +PATCHES=(
69 + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
70 +)
71 +
72 +distutils_enable_sphinx docs/source \
73 + 'dev-python/guzzle_sphinx_theme'
74 +distutils_enable_tests nose
75 +
76 +src_prepare() {
77 + # unpin deps
78 + sed -i -e "s:>=.*':':" setup.py || die
79 + # very unstable
80 + sed -i -e 's:test_stress_test_token_bucket:_&:' \
81 + tests/functional/retries/test_bucket.py || die
82 + distutils-r1_src_prepare
83 +}
84 +
85 +python_test() {
86 + # note: suites need to be run separately as one of the unit tests
87 + # seems to be leaking mocks and breaking a few functional tests
88 + nosetests -v tests/unit ||
89 + die "unit tests failed under ${EPYTHON}"
90 + nosetests -v tests/functional ||
91 + die "functional tests failed under ${EPYTHON}"
92 +}