1 |
commit: d03ee3029fc9ffb93b9c39e2f64fbf01b9f6805a |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 8 18:27:06 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 8 18:27:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d03ee302 |
7 |
|
8 |
dev-python/python-musicbrainz: [QA] Call distutils-r1_python_install_all |
9 |
|
10 |
Closes: https://bugs.gentoo.org/682900 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
.../python-musicbrainz-0.7.4-r1.ebuild | 19 ++++++++++--------- |
15 |
1 file changed, 10 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild b/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild |
18 |
index 2e4cf4af8b0..aab2babb783 100644 |
19 |
--- a/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild |
20 |
+++ b/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.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 pypy ) |
30 |
|
31 |
inherit distutils-r1 |
32 |
@@ -29,6 +30,10 @@ python_compile_all() { |
33 |
if use doc; then |
34 |
einfo "Generation of documentation" |
35 |
esetup.py docs |
36 |
+ |
37 |
+ # remove cruft |
38 |
+ rm -f html/api-objects.txt || die |
39 |
+ HTML_DOCS=( html/. ) |
40 |
fi |
41 |
} |
42 |
|
43 |
@@ -37,16 +42,12 @@ python_test() { |
44 |
} |
45 |
|
46 |
python_install_all() { |
47 |
- dodoc AUTHORS.txt CHANGES.txt README.txt |
48 |
+ distutils-r1_python_install_all |
49 |
|
50 |
- if use doc; then |
51 |
- dohtml html/* |
52 |
- fi |
53 |
+ dodoc AUTHORS.txt CHANGES.txt README.txt |
54 |
|
55 |
if use examples; then |
56 |
docinto examples |
57 |
- dodoc examples/*.txt |
58 |
- insinto /usr/share/doc/${PF}/examples |
59 |
- doins examples/*.py |
60 |
+ dodoc examples/*.{txt,py} |
61 |
fi |
62 |
} |