summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:57:27 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:57:27 +0100
commite5e71cace6a6e6bdbd2761afe5f52ae1442278bc (patch)
tree12494e4d9d6f1d960feb42627daeab9f40447608 /dev-python/python-musicbrainz-ngs
parentdev-python/pythondialog: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-e5e71cace6a6e6bdbd2761afe5f52ae1442278bc.tar.gz
gentoo-e5e71cace6a6e6bdbd2761afe5f52ae1442278bc.tar.bz2
gentoo-e5e71cace6a6e6bdbd2761afe5f52ae1442278bc.zip
dev-python/python-musicbrainz-ngs: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/python-musicbrainz-ngs')
-rw-r--r--dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild
index ed08f37e12ea..35e315ca5825 100644
--- a/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild
+++ b/dev-python/python-musicbrainz-ngs/python-musicbrainz-ngs-0.6.ebuild
@@ -43,7 +43,10 @@ python_test() {
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
- use examples && local EXAMPLES=( examples )
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
distutils-r1_python_install_all
}