1 |
commit: 8b7c3e138616c6a4d0aa4d28aee8940fd67b2036 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 2 08:37:59 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 2 09:41:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7c3e13 |
7 |
|
8 |
dev-python/cement: QA fixes |
9 |
|
10 |
use eclass functions (esetup.py) |
11 |
Make buildtime deps DEPEND |
12 |
fix doc isntallation |
13 |
|
14 |
Package-Manager: portage-2.2.22 |
15 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
16 |
|
17 |
dev-python/cement/cement-2.0.2.ebuild | 19 ++++++++++--------- |
18 |
dev-python/cement/metadata.xml | 1 - |
19 |
2 files changed, 10 insertions(+), 10 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/cement/cement-2.0.2.ebuild b/dev-python/cement/cement-2.0.2.ebuild |
22 |
index e240413..21dbb27 100644 |
23 |
--- a/dev-python/cement/cement-2.0.2.ebuild |
24 |
+++ b/dev-python/cement/cement-2.0.2.ebuild |
25 |
@@ -19,28 +19,29 @@ SLOT="0" |
26 |
KEYWORDS="amd64 x86" |
27 |
IUSE="test doc" |
28 |
|
29 |
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
30 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
31 |
+RDEPEND="" |
32 |
DEPEND="${RDEPEND} |
33 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] |
34 |
- dev-python/coverage[${PYTHON_USEDEP}] )" |
35 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
36 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
37 |
+ test? ( |
38 |
+ dev-python/nose[${PYTHON_USEDEP}] |
39 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
40 |
+ )" |
41 |
|
42 |
DOCS=( ChangeLog CONTRIBUTORS README.md ) |
43 |
PATCHES=( "${FILESDIR}"/tests-installation.patch ) |
44 |
# https://github.com/cement/cement/issues/185 |
45 |
|
46 |
python_test() { |
47 |
- nosetests || die "Tests fail with ${EPYTHON}" |
48 |
+ nosetests --verbose || die "Tests fail with ${EPYTHON}" |
49 |
} |
50 |
|
51 |
python_compile_all() { |
52 |
- if use doc; then |
53 |
- "${PYTHON}" setup.py build_sphinx || die "couldn't build docs" |
54 |
- fi |
55 |
+ use doc && esetup.py build_sphinx |
56 |
} |
57 |
|
58 |
python_install_all() { |
59 |
- use doc && HTML_DOCS=( doc/build/html/* ) |
60 |
+ use doc && HTML_DOCS=( doc/build/html/. ) |
61 |
|
62 |
distutils-r1_python_install_all |
63 |
} |
64 |
|
65 |
diff --git a/dev-python/cement/metadata.xml b/dev-python/cement/metadata.xml |
66 |
index e81878f..e95d6e1 100644 |
67 |
--- a/dev-python/cement/metadata.xml |
68 |
+++ b/dev-python/cement/metadata.xml |
69 |
@@ -6,4 +6,3 @@ |
70 |
Cement is an advanced CLI Application Framework for Python. Its goal is to introduce a standard, and feature-full platform for both simple and complex command line applications as well as support rapid development needs without sacrificing quality. |
71 |
</longdescription> |
72 |
</pkgmetadata> |
73 |
- |