1 |
commit: 0fd792b91d6d9cd595a55e4c98235ee6d436d5c9 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 8 19:16:12 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 8 19:16:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd792b9 |
7 |
|
8 |
dev-python/pyml: [QA] Call distutils-r1_python_install_all |
9 |
|
10 |
Closes: https://bugs.gentoo.org/682358 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
dev-python/pyml/pyml-0.7.13.3.ebuild | 18 ++++++++++++------ |
15 |
1 file changed, 12 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/pyml/pyml-0.7.13.3.ebuild b/dev-python/pyml/pyml-0.7.13.3.ebuild |
18 |
index 04dbc22b1f0..5c72d12d699 100644 |
19 |
--- a/dev-python/pyml/pyml-0.7.13.3.ebuild |
20 |
+++ b/dev-python/pyml/pyml-0.7.13.3.ebuild |
21 |
@@ -1,7 +1,8 @@ |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=5 |
27 |
+EAPI=7 |
28 |
+ |
29 |
PYTHON_COMPAT=( python2_7 ) |
30 |
|
31 |
inherit distutils-r1 |
32 |
@@ -24,11 +25,16 @@ DEPEND="${RDEPEND} |
33 |
S="${WORKDIR}/${MYP}" |
34 |
|
35 |
python_test() { |
36 |
- pushd data > /dev/null |
37 |
- "${PYTHON}" -c "from PyML.demo import pyml_test; pyml_test.test('svm')" || die "tests failed" |
38 |
- popd > /dev/null |
39 |
+ pushd data >/dev/null || die |
40 |
+ "${EPYTHON}" -c "from PyML.demo import pyml_test; pyml_test.test('svm')" || die "tests failed" |
41 |
+ popd >/dev/null || die |
42 |
} |
43 |
|
44 |
python_install_all() { |
45 |
- use doc && dodoc doc/tutorial.pdf && dohtml -r doc/autodoc/* |
46 |
+ if use doc; then |
47 |
+ dodoc doc/tutorial.pdf |
48 |
+ HTML_DOCS=( doc/autodoc/. ) |
49 |
+ fi |
50 |
+ |
51 |
+ distutils-r1_python_install_all |
52 |
} |