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: Fri, 25 Oct 2019 22:09:58
Message-Id: 1572041328.d9275b8097bb37bd1785ef56ea2e7c49924a271a.andrey_utkin@gentoo
1 commit: d9275b8097bb37bd1785ef56ea2e7c49924a271a
2 Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 25 18:13:57 2019 +0000
4 Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 25 22:08:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9275b80
7
8 dev-python/botocore: add new version 1.13.2
9
10 Cloned from 9999 ebuild verbatim.
11
12 Version caps on few deps, which have been added by Whissi in
13 botocore-1.12.251.ebuild, are thus abandoned, which has been agreed with
14 Whissi.
15
16 Package-Manager: Portage-2.3.66, Repoman-2.3.16
17 Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>
18
19 dev-python/botocore/Manifest | 1 +
20 dev-python/botocore/botocore-1.13.2.ebuild | 58 ++++++++++++++++++++++++++++++
21 2 files changed, 59 insertions(+)
22
23 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
24 index 036ac091254..4e3c5d72e70 100644
25 --- a/dev-python/botocore/Manifest
26 +++ b/dev-python/botocore/Manifest
27 @@ -5,3 +5,4 @@ DIST botocore-1.12.223.tar.gz 5892788 BLAKE2B 32a25636c7e3882e567daefeb0945863dd
28 DIST botocore-1.12.251.tar.gz 5936418 BLAKE2B a665d8a4c22bde4e5968b845e6df072a3ed2ce53561e007f2eaae144a91a77a32566c3c7f7a0158136b3e6d67aacffd5b77eed5fab51fe60fdfa29eb93e918ce SHA512 b29930367c602d40a7ce2386070dbaf83f34ea9321c7da40bf76ad7dae0587258fa2b3a058d17932d3e5fa22248c3ea5c838716fec5dce8da49e851b5c4f88d9
29 DIST botocore-1.12.4.tar.gz 4800384 BLAKE2B 121019d3c33872fdd874ddba36ecc8612a6354068ce7b759cbe7f35a9787e84c34d3a71ef3fdd2d721d3c3973a7600e4398cb7cd2a3ba698464c15137845bdf3 SHA512 8d196984f5623df403a8a23a9b7e7061e59c0ca56103f89d749d6ad7d92168ccae267f85312f2949cee322776d7948f1ecfda3d9d2783e8ba92fde7a178e8cac
30 DIST botocore-1.12.81.tar.gz 5383717 BLAKE2B 0bafd6038cf4a5d1fa4f0597024b09eca48ab95d071cccd09b1910ccf839719114166fab7d78bd2b30dec4b4993a0751d9504260636174df5f76f02495e79960 SHA512 d3be22af53a8c6dd55be3fa0b84a55cdce22d30d6e6f04b0bb69539b8107c86de6b5494079e3af40f9b5285ef10c21e69c85295e5cd7c6dc5ab5be91718a2ea9
31 +DIST botocore-1.13.2.tar.gz 5560942 BLAKE2B a46c72fc62bb776e4d462fea49d7010f45502c201d956ce5878fe9b8673cadf186b5c61e60bda5d666eb47454799fa53f40cf59d7f10246c79374132fc3d03e8 SHA512 ef48ae18c61c83b43ac435c9b9e3e7c69963c19cc79bb34c7541d5d823f952c022b1b7e4eb1dfa33dd9fe5c14c87f7cf72d0e9d17012984c9f10c06abe27d279
32
33 diff --git a/dev-python/botocore/botocore-1.13.2.ebuild b/dev-python/botocore/botocore-1.13.2.ebuild
34 new file mode 100644
35 index 00000000000..f81c7d0b849
36 --- /dev/null
37 +++ b/dev-python/botocore/botocore-1.13.2.ebuild
38 @@ -0,0 +1,58 @@
39 +# Copyright 1999-2019 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=7
43 +PYTHON_COMPAT=( python2_7 python3_5 python3_6 python3_7 )
44 +
45 +inherit distutils-r1
46 +
47 +DESCRIPTION="Low-level, data-driven core of boto 3."
48 +HOMEPAGE="https://github.com/boto/botocore"
49 +LICENSE="Apache-2.0"
50 +SLOT="0"
51 +IUSE="doc test"
52 +
53 +if [[ "${PV}" == "9999" ]]; then
54 + EGIT_REPO_URI="https://github.com/boto/botocore"
55 + inherit git-r3
56 +else
57 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
58 + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
59 +fi
60 +
61 +RDEPEND="
62 + dev-python/docutils[${PYTHON_USEDEP}]
63 + dev-python/jmespath[${PYTHON_USEDEP}]
64 + dev-python/python-dateutil[${PYTHON_USEDEP}]
65 + dev-python/urllib3[${PYTHON_USEDEP}]
66 +"
67 +DEPEND="
68 + dev-python/setuptools[${PYTHON_USEDEP}]
69 + doc? (
70 + dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
71 + dev-python/sphinx[${PYTHON_USEDEP}]
72 + )
73 + test? (
74 + ${RDEPEND}
75 + dev-python/mock[${PYTHON_USEDEP}]
76 + dev-python/nose[${PYTHON_USEDEP}]
77 + dev-python/jsonschema[${PYTHON_USEDEP}]
78 + )
79 +"
80 +
81 +PATCHES=( "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" )
82 +
83 +python_compile_all() {
84 + use doc && emake -C docs html
85 +}
86 +
87 +python_test() {
88 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}"
89 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}"
90 +}
91 +
92 +python_install_all() {
93 + use doc && local HTML_DOCS=( docs/build/html/. )
94 +
95 + distutils-r1_python_install_all
96 +}