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: Fri, 18 Jan 2019 02:18:40
Message-Id: 1547777827.7ff5f5476db64f9475b33037163f7c484afe85e9.whissi@gentoo
1 commit: 7ff5f5476db64f9475b33037163f7c484afe85e9
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 18 02:17:07 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 18 02:17:07 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff5f547
7
8 dev-python/botocore: bump to v1.12.81
9
10 Package-Manager: Portage-2.3.56, Repoman-2.3.12
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-python/botocore/Manifest | 1 +
14 dev-python/botocore/botocore-1.12.81.ebuild | 58 +++++++++++++++++++++++++++++
15 2 files changed, 59 insertions(+)
16
17 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
18 index 829fdde6314..822b8f32c26 100644
19 --- a/dev-python/botocore/Manifest
20 +++ b/dev-python/botocore/Manifest
21 @@ -1,3 +1,4 @@
22 DIST botocore-1.10.19.tar.gz 4372030 BLAKE2B cf4782e603c3483583edc2bd0a310781a00678524b4966b504e34db24b0f177d2d63cc76a5b2f1efa2d831c8ca3bc93f6bbbb628344da944a59b784cbd2e3062 SHA512 450f66d182f0262ae5fe040fc45c640c13fc2b9b1e4331e3be18ebd7b52b0008cb39f7293e243b101797a84b390399c09952f82880d925ebc076672282334577
23 DIST botocore-1.10.35.tar.gz 4451806 BLAKE2B 1161e5dc23a2a540b9fa237eb5c3029c6822bf76cc833be44366385482617ed64458a04ecd67ea9884d8b8a5b74e4b2a6232fb2f8d960118fba70860526fb4f0 SHA512 ea9e4bba6be53696fc4e3cf68e67f9e6eeaeda813c48d725e20f7170228f1cf8b55a023dd5fdb020290f5d6ecd10f75217e9327c928edacf8723dbd4050188d5
24 DIST botocore-1.12.4.tar.gz 4800384 BLAKE2B 121019d3c33872fdd874ddba36ecc8612a6354068ce7b759cbe7f35a9787e84c34d3a71ef3fdd2d721d3c3973a7600e4398cb7cd2a3ba698464c15137845bdf3 SHA512 8d196984f5623df403a8a23a9b7e7061e59c0ca56103f89d749d6ad7d92168ccae267f85312f2949cee322776d7948f1ecfda3d9d2783e8ba92fde7a178e8cac
25 +DIST botocore-1.12.81.tar.gz 5383717 BLAKE2B 0bafd6038cf4a5d1fa4f0597024b09eca48ab95d071cccd09b1910ccf839719114166fab7d78bd2b30dec4b4993a0751d9504260636174df5f76f02495e79960 SHA512 d3be22af53a8c6dd55be3fa0b84a55cdce22d30d6e6f04b0bb69539b8107c86de6b5494079e3af40f9b5285ef10c21e69c85295e5cd7c6dc5ab5be91718a2ea9
26
27 diff --git a/dev-python/botocore/botocore-1.12.81.ebuild b/dev-python/botocore/botocore-1.12.81.ebuild
28 new file mode 100644
29 index 00000000000..ecf27830116
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.12.81.ebuild
32 @@ -0,0 +1,58 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 python3_7 )
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 +
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 +}