1 |
commit: 52c7e3adb51fde935febb063ca0a74f38889bf9d |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 27 06:29:12 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 27 06:42:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52c7e3ad |
7 |
|
8 |
dev-python/python-saharaclient: bup |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/python-saharaclient/Manifest | 1 + |
13 |
.../python-saharaclient-1.1.0.ebuild | 56 ++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-saharaclient/Manifest b/dev-python/python-saharaclient/Manifest |
17 |
index 39b25ffc5b..663bc07e8f 100644 |
18 |
--- a/dev-python/python-saharaclient/Manifest |
19 |
+++ b/dev-python/python-saharaclient/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-saharaclient-0.11.0.tar.gz 101842 SHA256 0c08bcc7d490a9133ecc261bc8b270f3a4187952b19aa375e59a460491dc40bd SHA512 de30918d23b5b8191b2e49f0f7116510533da15be412d87c9018af2e4144082e9cb127713a4aff3ac03d72867a9855d73cbd56b83db24a9bad9b7b422c451018 WHIRLPOOL 97cd3f7b90f96d010d2f267c7ae593ea9c492a4b75c048596b53f1083dd57027dd79b3f0acb3708536ce1bba2ef3ae1afe4eada22355c7c8792164652a7fbc79 |
22 |
+DIST python-saharaclient-1.1.0.tar.gz 81664 SHA256 cb9c07f8131927886fd17b9c28e33f1aa840db1aac82e120ae531807638b1e80 SHA512 0799549d68bc65792cdf0129f3590667a1a87697182ad24c5c41e9c01abf5e133a16a60fe0331f313da44017aaf0503bbc131e8a62536a692032af36ae9f1386 WHIRLPOOL 6aa4aecff6c97cc432a6c192762ae9e8a5d56567579ca4425c236db3f746d438a57aa320544c16459be6bd750ca0bc5404851d256cfea20a5e2dced8a485a6bd |
23 |
|
24 |
diff --git a/dev-python/python-saharaclient/python-saharaclient-1.1.0.ebuild b/dev-python/python-saharaclient/python-saharaclient-1.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000000..87c6eb6a30 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-saharaclient/python-saharaclient-1.1.0.ebuild |
29 |
@@ -0,0 +1,56 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+PYTHON_COMPAT=( python2_7 ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="This is a client for the OpenStack Sahara API, aka HADOOP" |
40 |
+HOMEPAGE="https://github.com/openstack/python-saharaclient" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+CDEPEND=">=dev-python/pbr-1.8.0[${PYTHON_USEDEP}]" |
49 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
50 |
+ ${CDEPEND} |
51 |
+ test? ( |
52 |
+ >=dev-python/coverage-4.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/os-testr-0.8.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/requests-mock-1.1.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] |
60 |
+ <dev-python/sphinx-1.4[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
62 |
+ )" |
63 |
+RDEPEND=" |
64 |
+ ${CDEPEND} |
65 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/keystoneauth-2.18.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/osc-lib-1.2.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/oslo-log-3.11.0[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] |
74 |
+ !~dev-python/requests-2.12.2[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}]" |
76 |
+ |
77 |
+python_prepare_all() { |
78 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
79 |
+ distutils-r1_python_prepare_all |
80 |
+} |
81 |
+ |
82 |
+python_test() { |
83 |
+ testr init |
84 |
+ testr run --parallel || die "testsuite failed under python2.7" |
85 |
+} |