1 |
commit: e1bf169689d3e14ac053b4cdb5949945f29036e4 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 16 04:49:36 2018 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 16 04:49:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1bf1696 |
7 |
|
8 |
dev-python/oslotest: 3.2.0 bup |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-python/oslotest/Manifest | 1 + |
13 |
dev-python/oslotest/oslotest-3.2.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 d817bc4d986..19b6d49bb9c 100644 |
18 |
--- a/dev-python/oslotest/Manifest |
19 |
+++ b/dev-python/oslotest/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST oslotest-2.17.1.tar.gz 32166 BLAKE2B 49922cedc32bebda867c6633118cbd8258a08048c510333d04e0b2f8f5efd4e5dde802bfb8910936dffca76823771d3e83e78528b5fd045ae4380e02f92cf809 SHA512 558d2c220a6b1235112022b495c77881f52895cb720d67090ad096576b4e81044b228bd95b8303779bf8cca2e1205ef912b1fedd1916a34130f4c68ef69fcc0d |
22 |
+DIST oslotest-3.2.0.tar.gz 35445 BLAKE2B d33c70e760fc595586c2d7b0ce6ed1f63b73c89ba078f85b70d3b6b1af1c4d115e6eb7b431f9ef52abf50290eb47a1d3adb2d014c2ba5cf7b93ecf0e46401a26 SHA512 4513291e2bec939f9734255cb0fe3f85b9eb8a8cadce58873ad4e85365a0ec27bc2084085f5b95b681b5e811b62458e18fe63aff1e022b2d8ace0ca48bd6a527 |
23 |
|
24 |
diff --git a/dev-python/oslotest/oslotest-3.2.0.ebuild b/dev-python/oslotest/oslotest-3.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..310558b286f |
27 |
--- /dev/null |
28 |
+++ b/dev-python/oslotest/oslotest-3.2.0.ebuild |
29 |
@@ -0,0 +1,62 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Oslo test framework" |
40 |
+HOMEPAGE="https://launchpad.net/oslo" |
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="doc test" |
47 |
+ |
48 |
+CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" |
49 |
+DEPEND=" |
50 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
+ ${CDEPEND} |
52 |
+ test? ( |
53 |
+ >=dev-python/oslo-config-5.1.0[${PYTHON_USEDEP}] |
54 |
+ ) |
55 |
+ doc? ( |
56 |
+ >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/reno-2.5.0[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+RDEPEND=" |
62 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/mox3-0.20.0[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] |
70 |
+" |
71 |
+ |
72 |
+python_compile_all() { |
73 |
+ if use doc; then |
74 |
+ esetup.py build_sphinx -b man |
75 |
+ fi |
76 |
+} |
77 |
+ |
78 |
+python_test() { |
79 |
+ rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}" |
80 |
+ |
81 |
+ testr init || die "testr init failed under ${EPYTHON}" |
82 |
+ testr run || die "testr run failed under ${EPYTHON}" |
83 |
+} |
84 |
+ |
85 |
+python_install_all() { |
86 |
+ if use doc; then |
87 |
+ doman doc/build/man/oslotest.1 |
88 |
+ fi |
89 |
+ |
90 |
+ distutils-r1_python_install_all |
91 |
+} |