Gentoo Archives: gentoo-commits

From: Alex Brandt <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/boto3/
Date: Sat, 29 Aug 2015 23:38:23
Message-Id: 1440891465.badd9ced817c5db1d9bf5214658dd4a9813fed10.alunduil@gentoo
1 commit: badd9ced817c5db1d9bf5214658dd4a9813fed10
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 29 23:37:45 2015 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 29 23:37:45 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=badd9ced
7
8 dev-python/boto3: add version 1.1.2
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/boto3/Manifest | 1 +
13 dev-python/boto3/boto3-1.1.2.ebuild | 54 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 49c3266..146b92c 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -1 +1,2 @@
21 DIST boto3-1.1.1.tar.gz 137778 SHA256 02a99f270f58386dad6e260692b52f7038d52a9a84df29878528a573afecd88a SHA512 34019c8a3744775a952ae151b56747fc011fd4f28853e3d206f95bb8dd03746ad3d4086cd187d332930d543ca757d81bb732ccfd7cfd818aa8e75d73b1880be5 WHIRLPOOL 0032f5751df61bd71d60ea87ece0ce1be873a6fcd561d7600fcf62f1dd7b701963629368b46010b7a90719395adc652ca5059646af42510d72c05b7e3c5cf49e
22 +DIST boto3-1.1.2.tar.gz 141981 SHA256 6249add14f96b5e4cda0ac03798ab29f505c001332d2fb31ccb276e0ddcc5a15 SHA512 89b0abdab69dcd0c8ed612ecd70e5bdb88cc5242a3846fbdc5f708118d3f0db8c7eb5683422030eb630427dba53a5ea1780f5abbab58a021bf0bcacdeca07aef WHIRLPOOL c7c27d8c3c99ea992b2235beb60221c2899ea94557115b76366ce5922cef3606d9a2f907b0fdcce18e2eee1b19675849a354b50d429aa83ec1c364bf91a7ca5d
23
24 diff --git a/dev-python/boto3/boto3-1.1.2.ebuild b/dev-python/boto3/boto3-1.1.2.ebuild
25 new file mode 100644
26 index 0000000..2b98eeb
27 --- /dev/null
28 +++ b/dev-python/boto3/boto3-1.1.2.ebuild
29 @@ -0,0 +1,54 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
36 +
37 +inherit distutils-r1 vcs-snapshot
38 +
39 +DESCRIPTION="The AWS SDK for Python"
40 +HOMEPAGE="https://github.com/boto/boto3"
41 +SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +IUSE="doc test"
47 +
48 +CDEPEND="
49 + >=dev-python/botocore-1.1.0[${PYTHON_USEDEP}]
50 + <dev-python/botocore-1.2.0[${PYTHON_USEDEP}]
51 + >=dev-python/jmespath-0.6.2[${PYTHON_USEDEP}]
52 + <dev-python/jmespath-1.0.0[${PYTHON_USEDEP}]
53 + $(python_gen_cond_dep '=dev-python/futures-2.2.0[${PYTHON_USEDEP}]' 'python2_7')
54 +"
55 +DEPEND="
56 + dev-python/setuptools[${PYTHON_USEDEP}]
57 + doc? (
58 + >=dev-python/guzzle_sphinx_theme-0.7.10[${PYTHON_USEDEP}]
59 + <dev-python/guzzle_sphinx_theme-0.8[${PYTHON_USEDEP}]
60 + >=dev-python/sphinx-1.1.3[${PYTHON_USEDEP}]
61 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
62 + )
63 + test? (
64 + ${CDEPEND}
65 + dev-python/mock[${PYTHON_USEDEP}]
66 + dev-python/nose[${PYTHON_USEDEP}]
67 + )
68 +"
69 +RDEPEND="${CDEPEND}"
70 +
71 +python_compile_all() {
72 + use doc && emake -C docs html
73 +}
74 +
75 +python_test() {
76 + nosetests tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
77 +}
78 +
79 +python_install_all() {
80 + use doc && local HTML_DOCS=( docs/build/html/. )
81 +
82 + distutils-r1_python_install_all
83 +}