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, 14 Feb 2020 15:15:46
Message-Id: 1581693039.23d11354c3c990fcbb6b22a2404e9172de2eee81.whissi@gentoo
1 commit: 23d11354c3c990fcbb6b22a2404e9172de2eee81
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 14 15:10:39 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 14 15:10:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d11354
7
8 dev-python/botocore: bump to v1.14.17
9
10 Package-Manager: Portage-2.3.88, 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.14.17.ebuild | 59 +++++++++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
18 index c2412048cfc..8420f6d184e 100644
19 --- a/dev-python/botocore/Manifest
20 +++ b/dev-python/botocore/Manifest
21 @@ -1,4 +1,5 @@
22 DIST botocore-1.12.122.tar.gz 5492931 BLAKE2B 05371245cd0de404713f920d0651f9bbdcabe9508c5e27f692adc4cda7ac2f7fba24b2b95a26b788e4960b01553c1746f08b9db4f38e4629c5703fd6872893be SHA512 f92581ac6b8a46d4af8b55b391e6e75c452f83a4ffde6c940c9f85b2215a3eda44e8b2672f469769b4d9a0d7ac2823540f45c1822279b6264d016986f2b06c53
23 DIST botocore-1.13.46.tar.gz 6069713 BLAKE2B 9d10fc46314f379ed384f2803d4bf43b10e73607e4f8d29a2edd0c067a3df5f2473175d70276c24939e24393d496b9875c4509ae7644b42d0899e5627c660f21 SHA512 71c60edef4f49f88a52305568f9b177ab8fbb9048203b3f7cba85dd676e4a3fc02f2ba0b07afabb6598d7e8f6d6703446325275f1fb54209e57ee51d1e3b2a8e
24 DIST botocore-1.13.50.tar.gz 6076129 BLAKE2B c969ba8635970eb7613124cafa3f7d1efaeec22699857405450a5e669f19733cf3328839d8dc568b7b46d0e2c05a3a649d97805dcb50e047c455bfbb9fc32901 SHA512 8c7fb409f9d1cd47f2711cc5cd34e7459087b50cd257d4f943b475d195ac141e01c3be53194cdb045d6ccf4ea59fdb2e485899275bb3185e6e562318615ec14b
25 +DIST botocore-1.14.17.tar.gz 6117447 BLAKE2B 7b0e357c8b88c45f320a41cca602bec509ef0c9958b47448a8470aed81cde1cceaec975028c3793f53e9580ff34ce8df19e9d3914674eff5225b0578afe9edb5 SHA512 e3211bd27ad595c4c85144267333520bc365cfa2c7329da3ef431efacaa1e5d94777700ec248188497ef5782c00632872cbacc920c02eec2c143cecbd7154e17
26 DIST botocore-1.14.7.tar.gz 6092020 BLAKE2B 925b78a9414154838b4997da90a7916036a520725a99d187139250db7de70f0ac91437d8231e2880519090fc5143efb9ac7432c78303a5d7ce04f8e91ad78cfd SHA512 743cac75b1fa9f257f7b79c32211b061b29f359a97cf256ba8c3693eedbc186a43805d507d0e5726c49ef74f9777c68b3a204347d79058a0cc4f3891fce2fcc4
27
28 diff --git a/dev-python/botocore/botocore-1.14.17.ebuild b/dev-python/botocore/botocore-1.14.17.ebuild
29 new file mode 100644
30 index 00000000000..f9ce3c85acf
31 --- /dev/null
32 +++ b/dev-python/botocore/botocore-1.14.17.ebuild
33 @@ -0,0 +1,59 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
39 +
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 +IUSE="doc test"
47 +RESTRICT="!test? ( test )"
48 +
49 +if [[ "${PV}" == "9999" ]]; then
50 + EGIT_REPO_URI="https://github.com/boto/botocore"
51 + inherit git-r3
52 +else
53 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
54 + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
55 +fi
56 +
57 +RDEPEND="
58 + dev-python/docutils[${PYTHON_USEDEP}]
59 + dev-python/jmespath[${PYTHON_USEDEP}]
60 + dev-python/python-dateutil[${PYTHON_USEDEP}]
61 + dev-python/urllib3[${PYTHON_USEDEP}]
62 +"
63 +DEPEND="
64 + dev-python/setuptools[${PYTHON_USEDEP}]
65 + doc? (
66 + dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
67 + dev-python/sphinx[${PYTHON_USEDEP}]
68 + )
69 + test? (
70 + ${RDEPEND}
71 + dev-python/mock[${PYTHON_USEDEP}]
72 + dev-python/nose[${PYTHON_USEDEP}]
73 + dev-python/jsonschema[${PYTHON_USEDEP}]
74 + )
75 +"
76 +
77 +PATCHES=( "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" )
78 +
79 +python_compile_all() {
80 + use doc && emake -C docs html
81 +}
82 +
83 +python_test() {
84 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}"
85 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}"
86 +}
87 +
88 +python_install_all() {
89 + use doc && local HTML_DOCS=( docs/build/html/. )
90 +
91 + distutils-r1_python_install_all
92 +}