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: Sun, 27 Mar 2016 02:05:31
Message-Id: 1459044294.07fa6f697d356d1b535067fbbc5269570693088a.prometheanfire@gentoo
1 commit: 07fa6f697d356d1b535067fbbc5269570693088a
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 27 02:04:54 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 27 02:04:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fa6f69
7
8 dev-python/oslotest: bup for mitaka
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/oslotest/Manifest | 1 +
13 dev-python/oslotest/oslotest-2.3.0.ebuild | 63 +++++++++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/dev-python/oslotest/Manifest b/dev-python/oslotest/Manifest
17 index 0e1624d..3cd750e 100644
18 --- a/dev-python/oslotest/Manifest
19 +++ b/dev-python/oslotest/Manifest
20 @@ -4,3 +4,4 @@ DIST oslotest-1.3.0.tar.gz 18084 SHA256 7c29dcf2289b4de8b3a64764ae617626e86bda94
21 DIST oslotest-1.5.0.tar.gz 20622 SHA256 df732f8bd4b6b5d6869e4b570624c4a0ee3f906bee9b4cd70e8933b0dcef5586 SHA512 9e4f335d8eaa9b4c22f127b43ae5a96cf036ea0238b557a549a2b3b465e5f06e7b4c58a72e752e6d1be40a9dc6cee6c331bca4635679eb80c0a36d858c195ae4 WHIRLPOOL 552cd5c5e96634d39fd334619807645eb8258879c1048771b64c618bca3497a1c9449b5b51111a86c7b231e9721a4982b6679fbbb22bf08d546fdbe219814498
22 DIST oslotest-1.5.1.tar.gz 20723 SHA256 8123fb3471d82b141614728e66beecedecdd33c2844d1ef0c14c89b833339981 SHA512 b69770d260060bfec4185a3d1484d304be0e48c4dfa6ab2613eb3a73fd046eb3b0ad90ed061d8c6cca65bd3e76d7fdbe8832a73ea6674e5c9aa92d7a3978322f WHIRLPOOL 777c6c8a93502e795b3c61ddab62d8b3dffdaed62b65f73b6c63180721a00b4a64fef48a631919ef75c3c2b7e42237d71be78548ef62198113e27ffead4c1ef9
23 DIST oslotest-1.6.0.tar.gz 21226 SHA256 cb65b53b753375b669dcdb4717c362a205d19e3d16ca26310c0916cfd359354c SHA512 e7eb97dfde919b523c302d7dc495d835791c646b98ce579a6056e2412b93c1791d6d7e2c8333d142b89f1e7a414f1d5c61a321b41d8ad0ba4592227f9e3073a7 WHIRLPOOL 3b8f984f9adccf9abfdd70f5b593a16a0061bac0705c3331d0065a1ad6bc4a97b402e7f4e757a22f01e203980865510bf7741baffc9ede77ad1f652e15b6dfb1
24 +DIST oslotest-2.3.0.tar.gz 26475 SHA256 e28e0cade31ebe85bd777aa0f3fd3c03c6a77969ad2c4e6066e394521f8addf4 SHA512 a18ae0e0248fc4b0fb1b6d1de0c589d5668ae8991f5d51b05a38707daf388bcc915b89f50b2851223c3c95a04d74318ca783ac15f7ddeb1134fdc85cd8866827 WHIRLPOOL 7e3861044a5cae666b8c38b46b9492f1ebe14d6be6bad1446444cadff5c76ed1c51dfb4f8637fb0ab70899cb564b3a6e49d6719079da7f2ce49a1d8bbd70a05a
25
26 diff --git a/dev-python/oslotest/oslotest-2.3.0.ebuild b/dev-python/oslotest/oslotest-2.3.0.ebuild
27 new file mode 100644
28 index 0000000..69ec31f
29 --- /dev/null
30 +++ b/dev-python/oslotest/oslotest-2.3.0.ebuild
31 @@ -0,0 +1,63 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Oslo test framework"
43 +HOMEPAGE="http://launchpad.net/oslo"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
49 +IUSE="doc test"
50 +
51 +CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
52 +DEPEND="
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + ${CDEPEND}
55 + test? ( >=dev-python/oslo-config-2.3.0[${PYTHON_USEDEP}] )
56 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
57 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
58 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
59 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
60 +"
61 +RDEPEND="
62 + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
63 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
64 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
65 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
66 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
67 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
68 + >=dev-python/mock-1.2[${PYTHON_USEDEP}]
69 + >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
70 + >=dev-python/os-client-config-1.13.1[${PYTHON_USEDEP}]
71 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
72 +"
73 +
74 +python_compile_all() {
75 + if use doc; then
76 + esetup.py build_sphinx
77 + else
78 + esetup.py build_sphinx -b man
79 + fi
80 +}
81 +
82 +python_test() {
83 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
84 +
85 + testr init || die "testr init failed under ${EPYTHON}"
86 + testr run || die "testr run failed under ${EPYTHON}"
87 +}
88 +
89 +python_install_all() {
90 + doman doc/build/man/oslotest.1
91 + use doc && local HTML_DOCS=( doc/build/html/. )
92 +
93 + distutils-r1_python_install_all
94 +}