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: Mon, 01 Jun 2020 19:28:52
Message-Id: 1591039592.0950be709f3d1b51a233b63937190a61c439a83b.whissi@gentoo
1 commit: 0950be709f3d1b51a233b63937190a61c439a83b
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 1 19:26:32 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 1 19:26:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0950be70
7
8 dev-python/botocore: bump to v1.16.20
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-python/botocore/Manifest | 1 +
14 dev-python/botocore/botocore-1.16.20.ebuild | 57 +++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
18 index a62828fc6e2..c7557a2c069 100644
19 --- a/dev-python/botocore/Manifest
20 +++ b/dev-python/botocore/Manifest
21 @@ -3,5 +3,6 @@ DIST botocore-1.15.16.tar.gz 6173930 BLAKE2B 70e185faa9fa3f8537e38e4db8c263f5bfb
22 DIST botocore-1.15.32.tar.gz 6261957 BLAKE2B 7825e7d6315cae3578155825e0b5cb3961e5548021d63dad1747903c8f55bede03c4fdb0a07b724e2816ef294a890e85a648bae313620ab4156fd2a28d4e517b SHA512 865612fa52aae3bf08ee74b52a3fe685d7308d0d86bd438851e0b9db639ba3f6430211a7863c1b0737c0af0afc6ba760b2ccfd0103d303e87758317f773cef6d
23 DIST botocore-1.15.48.tar.gz 6336322 BLAKE2B 0d25424e82fcbf1376bb1eb9cac9eeb7a45d08698f39563f635a34b1b24bc6823c5f2b08b6a40a0fc9b54b0404b8f5dd7d07fc21e0c7e0c489fe172e7f29a936 SHA512 91d86731909be5828e38a69e32e5189fbd0357378c51a04f60efbcfbb1b6c0c01151c982fc32619e3be240f5df881e5342bbba6b290b3092d9fe11ce9e3b28d0
24 DIST botocore-1.16.12.tar.gz 6422375 BLAKE2B 333cc3d42b42b93f952c6344f5196b248291d6114f3bf7e73550bfb712a8a618908acb0b08379c9caae1c8a855bd738cd5f7efeda808799510c740d604459346 SHA512 891c8c2b3b6208d3d8543c055fa48887c58c67845d46a9607ae140d3a17d5b12665cc50afa304647895c891112e35ecc1cacaf36e75d0491109bcc5150be0ec6
25 +DIST botocore-1.16.20.tar.gz 6442160 BLAKE2B 23ad33e53ebf810087958f003d21fe5874974e15948d26ab8c4f56ff48e7121d09d9f35dd31055bc6ceb3a2c6327a1e9fafbd6909d2d2a7222e81d9ae9a5b36c SHA512 f92cb05b7b14f3036373f5aeafc956ad776ac486343d16275075c2b29d8212859ba7f84f83865027340f7544231d4920af627e1efe194393e5aca028fddfa4c1
26 DIST botocore-1.16.6.tar.gz 6386032 BLAKE2B e909e2fa021d5b1be333a31758af408cdc6e11224addefac31b87b8ce9983350aeaaf862feaf040490fad8eb87d7dde800bd8a77156410e6a734f567e2cc1055 SHA512 1f265a0a8adb7f0172f02448d3be5aeacf11e3fb7023da8d81e6d19c39d97cac99cfe3a70997e682deb44a4fd78304e4a0c1df43787f3139bbccbe852c682a82
27 DIST botocore-1.16.7.tar.gz 6391893 BLAKE2B 19a8770ef1058e5601a1c292e2e17e1625e4d5d0d1845b59bbd403a2c285da1a774935e9d1e1fa7ca26a1e3c4703b29fcbb2f021a7251aa3ca756c80b2ba0461 SHA512 0ab2b4ff4096049cd92b96c710a38867a53b2dba0f07a319ec1a2f9b3cbce60776026c62e3eaaebe571b6ad26eb5c1c258b2dd350a444d30e54b342bcd675768
28
29 diff --git a/dev-python/botocore/botocore-1.16.20.ebuild b/dev-python/botocore/botocore-1.16.20.ebuild
30 new file mode 100644
31 index 00000000000..be9914c2cda
32 --- /dev/null
33 +++ b/dev-python/botocore/botocore-1.16.20.ebuild
34 @@ -0,0 +1,57 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Low-level, data-driven core of boto 3."
44 +HOMEPAGE="https://github.com/boto/botocore"
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +IUSE="test"
48 +RESTRICT="!test? ( test )"
49 +
50 +if [[ "${PV}" == "9999" ]]; then
51 + EGIT_REPO_URI="https://github.com/boto/botocore"
52 + inherit git-r3
53 +else
54 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
55 + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
56 +fi
57 +
58 +RDEPEND="
59 + dev-python/six[${PYTHON_USEDEP}]
60 + dev-python/docutils[${PYTHON_USEDEP}]
61 + dev-python/jmespath[${PYTHON_USEDEP}]
62 + dev-python/python-dateutil[${PYTHON_USEDEP}]
63 + dev-python/urllib3[${PYTHON_USEDEP}]
64 +"
65 +BDEPEND="
66 + test? (
67 + ${RDEPEND}
68 + dev-python/mock[${PYTHON_USEDEP}]
69 + dev-python/nose[${PYTHON_USEDEP}]
70 + dev-python/jsonschema[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +PATCHES=(
75 + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
76 + "${FILESDIR}/botocore-1.16.7-unlock-deps.patch"
77 +)
78 +
79 +distutils_enable_sphinx docs \
80 + 'dev-python/guzzle_sphinx_theme'
81 +
82 +python_compile_all() {
83 + # remove version locked deps
84 + sed -r -e 's:([a-zA-Z0-9_-]+)[><|=].*:\1:' \
85 + -i requirements.txt || die
86 +}
87 +
88 +python_test() {
89 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}"
90 + PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}"
91 +}