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: Mon, 24 Feb 2020 17:28:28
Message-Id: 1582565294.70784d7bd917935ca9414c6d41aa393822f5ffdb.whissi@gentoo
1 commit: 70784d7bd917935ca9414c6d41aa393822f5ffdb
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 24 17:25:27 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 24 17:28:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70784d7b
7
8 dev-python/botocore: bump to v1.15.5
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-python/botocore/Manifest | 1 +
14 dev-python/botocore/botocore-1.15.5.ebuild | 59 ++++++++++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
18 index 8420f6d184e..ec3083a4424 100644
19 --- a/dev-python/botocore/Manifest
20 +++ b/dev-python/botocore/Manifest
21 @@ -3,3 +3,4 @@ DIST botocore-1.13.46.tar.gz 6069713 BLAKE2B 9d10fc46314f379ed384f2803d4bf43b10e
22 DIST botocore-1.13.50.tar.gz 6076129 BLAKE2B c969ba8635970eb7613124cafa3f7d1efaeec22699857405450a5e669f19733cf3328839d8dc568b7b46d0e2c05a3a649d97805dcb50e047c455bfbb9fc32901 SHA512 8c7fb409f9d1cd47f2711cc5cd34e7459087b50cd257d4f943b475d195ac141e01c3be53194cdb045d6ccf4ea59fdb2e485899275bb3185e6e562318615ec14b
23 DIST botocore-1.14.17.tar.gz 6117447 BLAKE2B 7b0e357c8b88c45f320a41cca602bec509ef0c9958b47448a8470aed81cde1cceaec975028c3793f53e9580ff34ce8df19e9d3914674eff5225b0578afe9edb5 SHA512 e3211bd27ad595c4c85144267333520bc365cfa2c7329da3ef431efacaa1e5d94777700ec248188497ef5782c00632872cbacc920c02eec2c143cecbd7154e17
24 DIST botocore-1.14.7.tar.gz 6092020 BLAKE2B 925b78a9414154838b4997da90a7916036a520725a99d187139250db7de70f0ac91437d8231e2880519090fc5143efb9ac7432c78303a5d7ce04f8e91ad78cfd SHA512 743cac75b1fa9f257f7b79c32211b061b29f359a97cf256ba8c3693eedbc186a43805d507d0e5726c49ef74f9777c68b3a204347d79058a0cc4f3891fce2fcc4
25 +DIST botocore-1.15.5.tar.gz 6146598 BLAKE2B 09b5b8dfd776bc13c0d1f52a61f80ae24a41daf1a14531e256273b1eab2cf824a42e60028eb42aabd19ab990369a9692172820b6a37cb0a9ee1275fe060466eb SHA512 34375b8585f4fa97c3a5672f03cdeb1961b6729d82f9706c04fd9f5ff1cc7bb33170ac147033bbc751c3c73ef558ba185b7e6526de0063190c14ec102901b56e
26
27 diff --git a/dev-python/botocore/botocore-1.15.5.ebuild b/dev-python/botocore/botocore-1.15.5.ebuild
28 new file mode 100644
29 index 00000000000..f9ce3c85acf
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.15.5.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
38 +
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 +IUSE="doc test"
46 +RESTRICT="!test? ( test )"
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 ~arm64 ~x86 ~amd64-linux ~x86-linux"
54 +fi
55 +
56 +RDEPEND="
57 + dev-python/docutils[${PYTHON_USEDEP}]
58 + dev-python/jmespath[${PYTHON_USEDEP}]
59 + dev-python/python-dateutil[${PYTHON_USEDEP}]
60 + dev-python/urllib3[${PYTHON_USEDEP}]
61 +"
62 +DEPEND="
63 + dev-python/setuptools[${PYTHON_USEDEP}]
64 + doc? (
65 + dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
66 + dev-python/sphinx[${PYTHON_USEDEP}]
67 + )
68 + test? (
69 + ${RDEPEND}
70 + dev-python/mock[${PYTHON_USEDEP}]
71 + dev-python/nose[${PYTHON_USEDEP}]
72 + dev-python/jsonschema[${PYTHON_USEDEP}]
73 + )
74 +"
75 +
76 +PATCHES=( "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" )
77 +
78 +python_compile_all() {
79 + use doc && emake -C docs html
80 +}
81 +
82 +python_test() {
83 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}"
84 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}"
85 +}
86 +
87 +python_install_all() {
88 + use doc && local HTML_DOCS=( docs/build/html/. )
89 +
90 + distutils-r1_python_install_all
91 +}