diff options
author | 2019-04-08 20:27:06 +0200 | |
---|---|---|
committer | 2019-04-08 20:27:06 +0200 | |
commit | d03ee3029fc9ffb93b9c39e2f64fbf01b9f6805a (patch) | |
tree | c5a563327533f5382cf52e9160b182e33863a38b /dev-python/python-musicbrainz | |
parent | dev-util/tup: drop old version 0.7.7 (diff) | |
download | gentoo-d03ee3029fc9ffb93b9c39e2f64fbf01b9f6805a.tar.gz gentoo-d03ee3029fc9ffb93b9c39e2f64fbf01b9f6805a.tar.bz2 gentoo-d03ee3029fc9ffb93b9c39e2f64fbf01b9f6805a.zip |
dev-python/python-musicbrainz: [QA] Call distutils-r1_python_install_all
Closes: https://bugs.gentoo.org/682900
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/python-musicbrainz')
-rw-r--r-- | dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild | 19 |
1 files changed, 10 insertions, 9 deletions
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 index 2e4cf4af8b07..aab2babb7839 100644 --- a/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild +++ b/dev-python/python-musicbrainz/python-musicbrainz-0.7.4-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 + PYTHON_COMPAT=( python2_7 pypy ) inherit distutils-r1 @@ -29,6 +30,10 @@ python_compile_all() { if use doc; then einfo "Generation of documentation" esetup.py docs + + # remove cruft + rm -f html/api-objects.txt || die + HTML_DOCS=( html/. ) fi } @@ -37,16 +42,12 @@ python_test() { } python_install_all() { - dodoc AUTHORS.txt CHANGES.txt README.txt + distutils-r1_python_install_all - if use doc; then - dohtml html/* - fi + dodoc AUTHORS.txt CHANGES.txt README.txt if use examples; then docinto examples - dodoc examples/*.txt - insinto /usr/share/doc/${PF}/examples - doins examples/*.py + dodoc examples/*.{txt,py} fi } |