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, 29 Nov 2019 19:42:09
Message-Id: 1575056417.098b40304c76cb41a762b6afb4e722ea960e70b5.whissi@gentoo
1 commit: 098b40304c76cb41a762b6afb4e722ea960e70b5
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 29 19:40:17 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 29 19:40:17 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=098b4030
7
8 dev-python/botocore: bump to v1.13.28
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-python/botocore/Manifest | 1 +
14 dev-python/botocore/botocore-1.13.28.ebuild | 59 +++++++++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
18 index 2b1d97bae2b..9803a77e0da 100644
19 --- a/dev-python/botocore/Manifest
20 +++ b/dev-python/botocore/Manifest
21 @@ -8,3 +8,4 @@ DIST botocore-1.12.81.tar.gz 5383717 BLAKE2B 0bafd6038cf4a5d1fa4f0597024b09eca48
22 DIST botocore-1.13.14.tar.gz 5598238 BLAKE2B dda5dc707adc0b7b6239431f6230482650845d3e9049c963a873926ab1ef0e5e12cee2172cee79de886b726fd6cc8aa77ebbfb34757c64f9e644d9197a52e84c SHA512 a82724041d9e7ae5f2197ddfb922a1c0df99e1e8cbb47be4c18ab2a97b811fb8071dd512eb41e552563a3d97a640fbc7ec421d75dc51bd718339b061546f933e
23 DIST botocore-1.13.19.tar.gz 5653940 BLAKE2B b7fa4678cb62bdc1c0db517e537c3c6a038dd3621261208f7f0cbc93644bcb68b0ed6ef13fee11a029897a1212feeb24b2cf44bf99d385af0af299afae1789d6 SHA512 86a1f6e5cd5a5f13b9ae2ceb1f113a136604b97888dd71775d7f6627081fa3704acb8f64143c274839658431f1196f2f35f13b3e2bc6d6ddb916cb5693881c5b
24 DIST botocore-1.13.2.tar.gz 5560942 BLAKE2B a46c72fc62bb776e4d462fea49d7010f45502c201d956ce5878fe9b8673cadf186b5c61e60bda5d666eb47454799fa53f40cf59d7f10246c79374132fc3d03e8 SHA512 ef48ae18c61c83b43ac435c9b9e3e7c69963c19cc79bb34c7541d5d823f952c022b1b7e4eb1dfa33dd9fe5c14c87f7cf72d0e9d17012984c9f10c06abe27d279
25 +DIST botocore-1.13.28.tar.gz 5881818 BLAKE2B 9ec33e256a1dd09be0951e880947eaa9394e538823458859d6f44516b278a144337fcfac1cbdc6aa87babaa7c177aa936bbf3587ff7ff94a228b34f99557701e SHA512 3c6ffa5389639643d237c6945942add1aa21f40419a31fc8bdb06532505e7d5e273afd6616705fce1d46ce76e997b9c3a6854876549b26020f1ee8a019c93a2b
26
27 diff --git a/dev-python/botocore/botocore-1.13.28.ebuild b/dev-python/botocore/botocore-1.13.28.ebuild
28 new file mode 100644
29 index 00000000000..1b2106971f3
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.13.28.ebuild
32 @@ -0,0 +1,59 @@
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_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 +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 +}