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