Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/
Date: Tue, 31 Mar 2020 11:53:35
Message-Id: 1585655598.2c80508cb508892327b14dbf48a39e729409852e.whissi@gentoo
1 commit: 2c80508cb508892327b14dbf48a39e729409852e
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 31 11:43:36 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 31 11:53:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c80508c
7
8 dev-python/botocore: bump to v1.15.32
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-python/botocore/Manifest | 1 +
14 dev-python/botocore/botocore-1.15.32.ebuild | 59 +++++++++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
18 index 6a7533ba0dd..29f4d4360e4 100644
19 --- a/dev-python/botocore/Manifest
20 +++ b/dev-python/botocore/Manifest
21 @@ -1,2 +1,3 @@
22 DIST botocore-1.12.122.tar.gz 5492931 BLAKE2B 05371245cd0de404713f920d0651f9bbdcabe9508c5e27f692adc4cda7ac2f7fba24b2b95a26b788e4960b01553c1746f08b9db4f38e4629c5703fd6872893be SHA512 f92581ac6b8a46d4af8b55b391e6e75c452f83a4ffde6c940c9f85b2215a3eda44e8b2672f469769b4d9a0d7ac2823540f45c1822279b6264d016986f2b06c53
23 DIST botocore-1.15.16.tar.gz 6173930 BLAKE2B 70e185faa9fa3f8537e38e4db8c263f5bfb0430d827e1093d41fdae8a16d6975071d3eec0eddde41d92044eebed92396d65f70eaf21a4ea2e6a1b464498c7f15 SHA512 574f0fc8cfa34e16b9933a7c7dd9fc9a95f713f8693507eac5598e73775def6df209b2883abf5a13e68327bf1e89508fce5d37074cd3a0173ab5cd1e35372409
24 +DIST botocore-1.15.32.tar.gz 6261957 BLAKE2B 7825e7d6315cae3578155825e0b5cb3961e5548021d63dad1747903c8f55bede03c4fdb0a07b724e2816ef294a890e85a648bae313620ab4156fd2a28d4e517b SHA512 865612fa52aae3bf08ee74b52a3fe685d7308d0d86bd438851e0b9db639ba3f6430211a7863c1b0737c0af0afc6ba760b2ccfd0103d303e87758317f773cef6d
25
26 diff --git a/dev-python/botocore/botocore-1.15.32.ebuild b/dev-python/botocore/botocore-1.15.32.ebuild
27 new file mode 100644
28 index 00000000000..f9ce3c85acf
29 --- /dev/null
30 +++ b/dev-python/botocore/botocore-1.15.32.ebuild
31 @@ -0,0 +1,59 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Low-level, data-driven core of boto 3."
41 +HOMEPAGE="https://github.com/boto/botocore"
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +IUSE="doc test"
45 +RESTRICT="!test? ( test )"
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 ~arm64 ~x86 ~amd64-linux ~x86-linux"
53 +fi
54 +
55 +RDEPEND="
56 + dev-python/docutils[${PYTHON_USEDEP}]
57 + dev-python/jmespath[${PYTHON_USEDEP}]
58 + dev-python/python-dateutil[${PYTHON_USEDEP}]
59 + dev-python/urllib3[${PYTHON_USEDEP}]
60 +"
61 +DEPEND="
62 + dev-python/setuptools[${PYTHON_USEDEP}]
63 + doc? (
64 + dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
65 + dev-python/sphinx[${PYTHON_USEDEP}]
66 + )
67 + test? (
68 + ${RDEPEND}
69 + dev-python/mock[${PYTHON_USEDEP}]
70 + dev-python/nose[${PYTHON_USEDEP}]
71 + dev-python/jsonschema[${PYTHON_USEDEP}]
72 + )
73 +"
74 +
75 +PATCHES=( "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" )
76 +
77 +python_compile_all() {
78 + use doc && emake -C docs html
79 +}
80 +
81 +python_test() {
82 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}"
83 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}"
84 +}
85 +
86 +python_install_all() {
87 + use doc && local HTML_DOCS=( docs/build/html/. )
88 +
89 + distutils-r1_python_install_all
90 +}