Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oslotest/
Date: Tue, 01 Sep 2015 15:06:39
Message-Id: 1441119771.a91e794ebfd1d8ad1521b2952436b6d48beb01a8.prometheanfire@gentoo
1 commit: a91e794ebfd1d8ad1521b2952436b6d48beb01a8
2 Author: Matthew Thode <mthode <AT> mthode <DOT> org>
3 AuthorDate: Tue Sep 1 15:02:51 2015 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 1 15:02:51 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91e794e
7
8 dev-python/oslotest: adding for liberty
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/oslotest/Manifest | 1 +
13 dev-python/oslotest/oslotest-1.10.0.ebuild | 62 ++++++++++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/dev-python/oslotest/Manifest b/dev-python/oslotest/Manifest
17 index 113f098..b2ea561 100644
18 --- a/dev-python/oslotest/Manifest
19 +++ b/dev-python/oslotest/Manifest
20 @@ -1,3 +1,4 @@
21 +DIST oslotest-1.10.0.tar.gz 26092 SHA256 da198416f07df43a1b5c9e02bf05b3f1b7057dd81264b2815bbdfcd610f17650 SHA512 34b017b5adc56578b8893b3858b00c7c59bf6d915cc89e3db00c60cb92ae83af88cfee350c9fc14e477d34b3534d3ea1c08254bd0851e7e99f7e19cca2a85f09 WHIRLPOOL 2a17a69bc4f5148b1b386f664b9f3f5d78a1faba36916c418cf1fdc8397963da715530c9203e66ab541d3cce70e89901f264a26d612298b111f75ade116eca8a
22 DIST oslotest-1.3.0.tar.gz 18084 SHA256 7c29dcf2289b4de8b3a64764ae617626e86bda948746aced80c49452df9e038a SHA512 f2db5ba6eedebc5937cbee94aa18e3b5ea9933d833ceb1e3906a18d7bc2bc9b423c7608ecad4ab4f8e9099a57ace1b610259a8b1dd7e8ad7f1d60a46ba717bcb WHIRLPOOL 2a4bd1e55ef379a0c7fd413a79af35e208ec3ff90b90fcc84bf36bb2e1a17bc3954545d81e32de4adf410872832b763e470dc3c99ce1893cea5dc1339df9d4ae
23 DIST oslotest-1.5.0.tar.gz 20622 SHA256 df732f8bd4b6b5d6869e4b570624c4a0ee3f906bee9b4cd70e8933b0dcef5586 SHA512 9e4f335d8eaa9b4c22f127b43ae5a96cf036ea0238b557a549a2b3b465e5f06e7b4c58a72e752e6d1be40a9dc6cee6c331bca4635679eb80c0a36d858c195ae4 WHIRLPOOL 552cd5c5e96634d39fd334619807645eb8258879c1048771b64c618bca3497a1c9449b5b51111a86c7b231e9721a4982b6679fbbb22bf08d546fdbe219814498
24 DIST oslotest-1.5.1.tar.gz 20723 SHA256 8123fb3471d82b141614728e66beecedecdd33c2844d1ef0c14c89b833339981 SHA512 b69770d260060bfec4185a3d1484d304be0e48c4dfa6ab2613eb3a73fd046eb3b0ad90ed061d8c6cca65bd3e76d7fdbe8832a73ea6674e5c9aa92d7a3978322f WHIRLPOOL 777c6c8a93502e795b3c61ddab62d8b3dffdaed62b65f73b6c63180721a00b4a64fef48a631919ef75c3c2b7e42237d71be78548ef62198113e27ffead4c1ef9
25
26 diff --git a/dev-python/oslotest/oslotest-1.10.0.ebuild b/dev-python/oslotest/oslotest-1.10.0.ebuild
27 new file mode 100644
28 index 0000000..80c3f4a
29 --- /dev/null
30 +++ b/dev-python/oslotest/oslotest-1.10.0.ebuild
31 @@ -0,0 +1,62 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Oslo test framework"
42 +HOMEPAGE="http://launchpad.net/oslo"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
48 +IUSE="doc test"
49 +
50 +CDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}]"
51 +DEPEND="
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + ${CDEPEND}
54 + doc? (
55 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
56 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
57 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
58 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
59 + )
60 +"
61 +RDEPEND="
62 + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
63 + >=dev-python/mock-1.2[${PYTHON_USEDEP}]
64 + >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
65 + >=dev-python/os-client-config-1.4.0[${PYTHON_USEDEP}]
66 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
67 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
68 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
69 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
70 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
71 +"
72 +
73 +python_compile_all() {
74 + if use doc; then
75 + esetup.py build_sphinx
76 + else
77 + esetup.py build_sphinx -b man
78 + fi
79 +}
80 +
81 +python_test() {
82 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
83 +
84 + testr init || die "testr init failed under ${EPYTHON}"
85 + testr run || die "testr run failed under ${EPYTHON}"
86 +}
87 +
88 +python_install_all() {
89 + doman doc/build/man/oslotest.1
90 + use doc && local HTML_DOCS=( doc/build/html/. )
91 +
92 + distutils-r1_python_install_all
93 +}