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: Sun, 05 Nov 2017 00:52:29
Message-Id: 1509843136.e44af843c663cde2598cf090622f41a72958a010.andrey_utkin@gentoo
1 commit: e44af843c663cde2598cf090622f41a72958a010
2 Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 3 23:56:11 2017 +0000
4 Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 5 00:52:16 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e44af843
7
8 dev-python/boto3: add 1.4.6 ebuild
9
10 This version is not the latest one, but it is the only one expecting
11 botocore of version 1.6.*.
12
13 Copied from 1.4.4 ebuild with such changes:
14
15 * stable keywords downgraded to testing
16 * dev-python/botocore dependency versions range updated to require 1.6.*
17 in accordance with upstream setup.{cfg,py}
18
19 Acked-by: Alex Brandt <alunduil <AT> gentoo.org>
20 Package-Manager: Portage-2.3.12, Repoman-2.3.3
21
22 dev-python/boto3/Manifest | 1 +
23 dev-python/boto3/boto3-1.4.6.ebuild | 54 +++++++++++++++++++++++++++++++++++++
24 2 files changed, 55 insertions(+)
25
26 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
27 index 91da289e2ec..f50c5dc4a52 100644
28 --- a/dev-python/boto3/Manifest
29 +++ b/dev-python/boto3/Manifest
30 @@ -2,3 +2,4 @@ DIST boto3-1.3.1.tar.gz 176717 SHA256 b3dbde6445ab04c3d0de9b962a3cc8ed9bc22ccce5
31 DIST boto3-1.4.0.tar.gz 183263 SHA256 8fdd3743e34a32e5cb8636fb33dafe7336b7a341583653f52c6c20f7fe764472 SHA512 9e678b26993f48f156a5acdb33aec3488d263230517e6b5e1e608cb007fbf4f29a3c33290e460eb7cf1031f87894f3daca03bf80048139435979f23dd2fd61b8 WHIRLPOOL 5eb3703b11b4a0b3a4c873aed78f9c8b6588b5a83cacbd673f27cc4460822772745abcbc6698f680968ed37318d76bd812a491a83caa7b04b1e4a663def4a271
32 DIST boto3-1.4.1.tar.gz 188341 SHA256 a7f10245b3ff947019963963b73911c515debed89709740586503ac22f5dfb97 SHA512 525f2db50d0a9d6f452c0261e934ecd9f06b576154b128d209a729b0fe96190e641369c00e13700f2aba5fe4a0c02f80248e25bc3d716cb72752d645e880eb23 WHIRLPOOL 195e5dcd59152ef09ae1f32aa9f321ea1f57c2ac20f7a233673c4f2a4529c062f78af0641efe8ac0632188e8e85e1e687eeb7c6932de89d3c49e110df2958eb4
33 DIST boto3-1.4.4.tar.gz 194721 SHA256 c760ca47a34fb54e44b90fc28d87a50353df527b39e815f399c481bab7d351c6 SHA512 948d753809e41bad39fdf3da9646b62ff2fbc9d23966cdd0e46b2df18b07ff8c8af11bb777aa0cd1fea5bcdbc2d43f3f3d06012e30327e3c55b36f7bba815a61 WHIRLPOOL e650e194d507dd405034ffb7907ab4a7e22765f290bf0bd8d866bbd0f94afb5fb64a6395aef24ea2196700be3d893bcf6cc86223a5073577875e451aed75724e
34 +DIST boto3-1.4.6.tar.gz 217110 SHA256 457ac301b28addece2914da6fc4207146a0f4393f8e94888315b1611a4f43270 SHA512 194be548af8b11fa14721a23934a811717c6e8a70178682c392626aaf97fd5738c7aeb83366d7951c2b69d63acc83f26059e3f0cb0b26f5d412ba606e02315e7 WHIRLPOOL 842a3f65f4a733f3e66cf66fdf45d4ca0a83d9d01164a5ed784f2a3328229471487f1ec67c82a7732d9196907859046b7246586fae64ecec4e2ec4565fe70fa9
35
36 diff --git a/dev-python/boto3/boto3-1.4.6.ebuild b/dev-python/boto3/boto3-1.4.6.ebuild
37 new file mode 100644
38 index 00000000000..682d1f65273
39 --- /dev/null
40 +++ b/dev-python/boto3/boto3-1.4.6.ebuild
41 @@ -0,0 +1,54 @@
42 +# Copyright 1999-2017 Gentoo Foundation
43 +# Distributed under the terms of the GNU General Public License v2
44 +
45 +EAPI=6
46 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
47 +
48 +inherit distutils-r1 vcs-snapshot
49 +
50 +DESCRIPTION="The AWS SDK for Python"
51 +HOMEPAGE="https://github.com/boto/boto3"
52 +SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
53 +
54 +LICENSE="Apache-2.0"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
57 +IUSE="doc test"
58 +
59 +CDEPEND="
60 + >=dev-python/botocore-1.6.0[${PYTHON_USEDEP}]
61 + <dev-python/botocore-1.7.0[${PYTHON_USEDEP}]
62 + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
63 + <dev-python/jmespath-1.0.0[${PYTHON_USEDEP}]
64 + >=dev-python/s3transfer-0.1.10[${PYTHON_USEDEP}]
65 + <dev-python/s3transfer-0.2.0[${PYTHON_USEDEP}]
66 +"
67 +DEPEND="
68 + dev-python/setuptools[${PYTHON_USEDEP}]
69 + doc? (
70 + >=dev-python/guzzle_sphinx_theme-0.7.10[${PYTHON_USEDEP}]
71 + <dev-python/guzzle_sphinx_theme-0.8[${PYTHON_USEDEP}]
72 + >=dev-python/sphinx-1.1.3[${PYTHON_USEDEP}]
73 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
74 + )
75 + test? (
76 + ${CDEPEND}
77 + ~dev-python/mock-1.3.0[${PYTHON_USEDEP}]
78 + dev-python/nose[${PYTHON_USEDEP}]
79 + )
80 +"
81 +RDEPEND="${CDEPEND}"
82 +
83 +python_compile_all() {
84 + use doc && emake -C docs html
85 +}
86 +
87 +python_test() {
88 + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
89 +}
90 +
91 +python_install_all() {
92 + use doc && local HTML_DOCS=( docs/build/html/. )
93 +
94 + distutils-r1_python_install_all
95 +}