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: Thu, 30 Nov 2017 05:42:58
Message-Id: 1512020541.ccada7d51bcdf29ebd082462d4c0ba82cdd9ace0.prometheanfire@gentoo
1 commit: ccada7d51bcdf29ebd082462d4c0ba82cdd9ace0
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 30 05:32:25 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 30 05:42:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccada7d5
7
8 dev-python/oslotest: 2.17.1 bup
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11
12 dev-python/oslotest/Manifest | 3 +-
13 dev-python/oslotest/oslotest-2.17.1.ebuild | 68 ++++++++++++++++++++++++++++++
14 2 files changed, 70 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-python/oslotest/Manifest b/dev-python/oslotest/Manifest
17 index e326359ac1f..723c3413c88 100644
18 --- a/dev-python/oslotest/Manifest
19 +++ b/dev-python/oslotest/Manifest
20 @@ -1 +1,2 @@
21 -DIST oslotest-2.4.0.tar.gz 26392 SHA256 cad9a20b4c26a691e947b826c37ea393c35384ff3d9091ac83c8ad4201795b0d SHA512 20dfbf555741e72cd9ba41c0432e8c8af01ae7c07a9a740f71055f900a994790b420aa062313a59cdfddf4c80b7ca2aa0ee9ae2ee645ad525cbafeae3db68886 WHIRLPOOL e8a5b8dc30bf2aa68e58c07d3a9e2067aa8d037022d22bdc9351950d70f922b61ec7e907652ae04886cd918bccf84ec4f409dc0604cb2a34af87780f1912fba2
22 +DIST oslotest-2.17.1.tar.gz 32166 BLAKE2B 49922cedc32bebda867c6633118cbd8258a08048c510333d04e0b2f8f5efd4e5dde802bfb8910936dffca76823771d3e83e78528b5fd045ae4380e02f92cf809 SHA512 558d2c220a6b1235112022b495c77881f52895cb720d67090ad096576b4e81044b228bd95b8303779bf8cca2e1205ef912b1fedd1916a34130f4c68ef69fcc0d
23 +DIST oslotest-2.4.0.tar.gz 26392 BLAKE2B b34d478f9d18cf6582544499555c6daae5cd47e47731b17c835833b7cbbb65c652602c6642c0c682b0690dde495f5014b454a3c9e0a56b2f69b278935ebadd7c SHA512 20dfbf555741e72cd9ba41c0432e8c8af01ae7c07a9a740f71055f900a994790b420aa062313a59cdfddf4c80b7ca2aa0ee9ae2ee645ad525cbafeae3db68886
24
25 diff --git a/dev-python/oslotest/oslotest-2.17.1.ebuild b/dev-python/oslotest/oslotest-2.17.1.ebuild
26 new file mode 100644
27 index 00000000000..b030faf9630
28 --- /dev/null
29 +++ b/dev-python/oslotest/oslotest-2.17.1.ebuild
30 @@ -0,0 +1,68 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=5
35 +
36 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Oslo test framework"
41 +HOMEPAGE="https://launchpad.net/oslo"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
47 +IUSE="doc test"
48 +
49 +CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
50 +DEPEND="
51 + dev-python/setuptools[${PYTHON_USEDEP}]
52 + ${CDEPEND}
53 + test? (
54 + >=dev-python/oslo-config-4.0.0[${PYTHON_USEDEP}]
55 + !~dev-python/oslo-config-4.3.0[${PYTHON_USEDEP}]
56 + !~dev-python/oslo-config-4.4.0[${PYTHON_USEDEP}]
57 + )
58 + doc? (
59 + >=dev-python/openstackdocstheme-1.16.0[${PYTHON_USEDEP}]
60 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
61 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
62 + !~dev-python/reno-2.3.1[${PYTHON_USEDEP}]
63 + )
64 +"
65 +RDEPEND="
66 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
67 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
68 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
69 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
70 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
71 + >=dev-python/mock-2.0[${PYTHON_USEDEP}]
72 + >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
73 + !~dev-python/mox3-0.19.0[${PYTHON_USEDEP}]
74 + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}]
75 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
76 +"
77 +
78 +python_compile_all() {
79 + if use doc; then
80 + esetup.py build_sphinx
81 + else
82 + esetup.py build_sphinx -b man
83 + fi
84 +}
85 +
86 +python_test() {
87 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
88 +
89 + testr init || die "testr init failed under ${EPYTHON}"
90 + testr run || die "testr run failed under ${EPYTHON}"
91 +}
92 +
93 +python_install_all() {
94 + doman doc/build/man/oslotest.1
95 + use doc && local HTML_DOCS=( doc/build/html/. )
96 +
97 + distutils-r1_python_install_all
98 +}