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/boto3/
Date: Sat, 15 Sep 2018 14:04:47
Message-Id: 1537020242.8cf89939898509e8c5cb42b2b9c3d1ae8a2907c2.andrey_utkin@gentoo
1 commit: 8cf89939898509e8c5cb42b2b9c3d1ae8a2907c2
2 Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 14 20:35:55 2018 +0000
4 Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 15 14:04:02 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf89939
7
8 dev-python/boto3: add new version 1.9.4
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 dev-python/boto3/Manifest | 1 +
13 dev-python/boto3/boto3-1.9.4.ebuild | 53 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 50c77419973..a3f8cc4c00c 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -2,3 +2,4 @@ DIST boto3-1.4.7.tar.gz 217171 BLAKE2B 900c5c4249df9d0c3b5d157835f66be5e7cd3e2f4
21 DIST boto3-1.5.27.tar.gz 221841 BLAKE2B b604bb3f20f6ea5d6fd9de8ea63258cd4fdb36fb7cdbd6ca2e194f177dd37da3609928be47fc620ab42db6955aff373c757ea0f80896be947aa714bd6da487f8 SHA512 c38d11fc1e1d65cfaf9bbe00da210c4713fec9232320387efc11663470fc333a622877eddd1c60216496cb6fb399f0964cf51bed67209c4c7ec17af03972350f
22 DIST boto3-1.7.19.tar.gz 226568 BLAKE2B 3f56b738d49cd8da02621b5f00160e8a6bc06fa785b870cf0a413c0c9ba2e04dd772f4246fe943dc9fd7dc14f1c587377e3ffba77c2b1a092247958dbc573fdb SHA512 80975e234caabb0f9c0166cc00a3bf88d61ff1df386fa4df83599245a04d323d10b770e1f4171e7f856ea91edd325d1207caf023a2f43e5dca23236fc48bcb6d
23 DIST boto3-1.7.35.tar.gz 228201 BLAKE2B ae164f4eb8a77d15ea142f0a88422645b306f83c54d094abafd73e46e0615fb7cde9756781d4150fa6ef408738481fbbd959afee0ca125cb1f2b8f82189f86b4 SHA512 c007317bcfd167fc78ae216ea2db5a9ae76dcd4e76cd80bc2e4bef11e4525f1b0c87d6f14cf66dff49bb5e0c4c22b2062a514e8f47c83cf1a1bbd592f6aa7658
24 +DIST boto3-1.9.4.tar.gz 237313 BLAKE2B 20ab73dd02864b455a2bcc567b6303ef8b0503c4dd80efb442bf7ad8167329c938dcd41cbc61d4ab50fd02cbf8758c10aadb9b13d9c795330fe1faf9a1f7352b SHA512 7f0eb3b5537aed598d75a05474439819dee8c0030dd1eb685281e963ec465699ff9120394170f1ac7b53493de9b8702ec789863839eb3710ff3d60e2dfc1f1ac
25
26 diff --git a/dev-python/boto3/boto3-1.9.4.ebuild b/dev-python/boto3/boto3-1.9.4.ebuild
27 new file mode 100644
28 index 00000000000..d62092d13ce
29 --- /dev/null
30 +++ b/dev-python/boto3/boto3-1.9.4.ebuild
31 @@ -0,0 +1,53 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
37 +
38 +inherit distutils-r1 vcs-snapshot
39 +
40 +DESCRIPTION="The AWS SDK for Python"
41 +HOMEPAGE="https://github.com/boto/boto3"
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +IUSE="doc test"
45 +
46 +if [[ "${PV}" == "9999" ]]; then
47 + EGIT_REPO_URI="https://github.com/boto/boto3"
48 + inherit git-r3
49 +else
50 + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
52 +fi
53 +
54 +RDEPEND="
55 + >=dev-python/botocore-1.12.4[${PYTHON_USEDEP}]
56 + dev-python/jmespath[${PYTHON_USEDEP}]
57 + dev-python/s3transfer[${PYTHON_USEDEP}]
58 +"
59 +DEPEND="
60 + dev-python/setuptools[${PYTHON_USEDEP}]
61 + doc? (
62 + dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
63 + dev-python/sphinx[${PYTHON_USEDEP}]
64 + )
65 + test? (
66 + ${RDEPEND}
67 + dev-python/mock[${PYTHON_USEDEP}]
68 + dev-python/nose[${PYTHON_USEDEP}]
69 + )
70 +"
71 +
72 +python_compile_all() {
73 + use doc && emake -C docs html
74 +}
75 +
76 +python_test() {
77 + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
78 +}
79 +
80 +python_install_all() {
81 + use doc && local HTML_DOCS=( docs/build/html/. )
82 +
83 + distutils-r1_python_install_all
84 +}