Gentoo Archives: gentoo-commits

From: Andrey Utkin <andrey_utkin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/
Date: Thu, 15 Feb 2018 10:29:14
Message-Id: 1518690315.29bcd1e9fd5fdaac2c81848f432efe1a2541dcd7.andrey_utkin@gentoo
1 commit: 29bcd1e9fd5fdaac2c81848f432efe1a2541dcd7
2 Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 13 13:24:21 2018 +0000
4 Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 15 10:25:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29bcd1e9
7
8 dev-python/botocore: add new version 1.8.41
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 dev-python/botocore/Manifest | 1 +
13 dev-python/botocore/botocore-1.8.41.ebuild | 61 ++++++++++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 0f6c1c517b9..d9765c30411 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -1,2 +1,3 @@
21 DIST botocore-1.7.39.tar.gz 3838231 BLAKE2B 53355a6f0fca131db8ae41ff7e0b5405dc2a4c1a0630743ec34e0fabe60468d27ea9d36b67dc3b8757c3f524eabf3fef1e55d3eb0df1f4c5bd229448f8dfc3d4 SHA512 0a6031315356f43e00ba5661020890478a589f0524bacd22fd24a9f8da147761f70d7b7fae9aab887301e78a392bc12dc7067174af9a07aac346d11a4cec9a22
22 DIST botocore-1.8.20.tar.gz 4173990 BLAKE2B ce9813c77b440fdfd123593aeb9f5c47bec877981dad5089b83633deebab3bf4aed76c13ac73f571eeb8349406b3f04e6c33634a865e076ffdca266cf418b80c SHA512 0b822bff75ef26c7e996e354a5c06cb50eb13d7e58f65297adcf023a81084c8b98500c08b906dcfd346e2dadcdde33d472d6d51c3e081af8667c5adcdd2deffd
23 +DIST botocore-1.8.41.tar.gz 4196554 BLAKE2B 8f74b8f53fb98ea0fbadebb1739799eb30fb52748377175e0682292f4868910a5fab187c9065434e67d783eee0bb119555daa55020f1b909370749dfdf1dbc87 SHA512 d8bb3eb704268410646c0290fde829a3f69fc9c587b31afb43649efe345f626dc902be0ba7939239bb93871138aeb7587671dcb91ac40f4241c90b2238219d30
24
25 diff --git a/dev-python/botocore/botocore-1.8.41.ebuild b/dev-python/botocore/botocore-1.8.41.ebuild
26 new file mode 100644
27 index 00000000000..89ab97de7bc
28 --- /dev/null
29 +++ b/dev-python/botocore/botocore-1.8.41.ebuild
30 @@ -0,0 +1,61 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Low-level, data-driven core of boto 3."
40 +HOMEPAGE="https://github.com/boto/botocore"
41 +LICENSE="Apache-2.0"
42 +SLOT="0"
43 +IUSE="doc test"
44 +
45 +if [[ "${PV}" == "9999" ]]; then
46 + EGIT_REPO_URI="https://github.com/boto/botocore"
47 + inherit git-r3
48 +else
49 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
50 + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
51 +fi
52 +
53 +RDEPEND="
54 + >=dev-python/docutils-0.10[${PYTHON_USEDEP}]
55 + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
56 + <dev-python/jmespath-1.0.0[${PYTHON_USEDEP}]
57 + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
58 + <dev-python/python-dateutil-3.0.0[${PYTHON_USEDEP}]
59 +"
60 +DEPEND="
61 + dev-python/setuptools[${PYTHON_USEDEP}]
62 + doc? (
63 + >=dev-python/guzzle_sphinx_theme-0.7.10[${PYTHON_USEDEP}]
64 + <dev-python/guzzle_sphinx_theme-0.8[${PYTHON_USEDEP}]
65 + >=dev-python/sphinx-1.1.3[${PYTHON_USEDEP}]
66 + <dev-python/sphinx-1.7[${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 +}