-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL=1
DISABLE_AUTOFORMATTING=true
-inherit eutils distutils-r1 readme.gentoo
+inherit eutils distutils-r1 readme.gentoo-r1
DESCRIPTION="A cross-platform music tagger"
HOMEPAGE="http://picard.musicbrainz.org/"
S=${WORKDIR}/${PN}-release-${PV}
DOCS="AUTHORS.txt NEWS.txt"
-DOC_CONTENTS="If you are upgrading Picard and it does not start,
-try removing Picard's settings:
- rm ~/.config/MusicBrainz/Picard.conf
-
-You should set the environment variable BROWSER to something like
- firefox '%s' &
-to let python know which browser to use."
-
src_compile() {
distutils-r1_src_compile $(use nls || echo "--disable-locales")
}
doicon picard.ico
domenu picard.desktop
+
+ local DOC_CONTENTS="If you are upgrading Picard and it does not start,
+try removing Picard's settings:
+ rm ~/.config/MusicBrainz/Picard.conf
+
+You should set the environment variable BROWSER to something like
+ firefox '%s' &
+to let python know which browser to use."
readme.gentoo_create_doc
}
PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL=1
DISABLE_AUTOFORMATTING=true
-inherit eutils distutils-r1 readme.gentoo
+inherit eutils distutils-r1 readme.gentoo-r1
DESCRIPTION="A cross-platform music tagger"
HOMEPAGE="http://picard.musicbrainz.org/"
S=${WORKDIR}/${PN}-release-${PV}
DOCS="AUTHORS.txt NEWS.txt"
-DOC_CONTENTS="If you are upgrading Picard and it does not start,
-try removing Picard's settings:
- rm ~/.config/MusicBrainz/Picard.conf
-
-You should set the environment variable BROWSER to something like
- firefox '%s' &
-to let python know which browser to use."
-
src_compile() {
distutils-r1_src_compile $(use nls || echo "--disable-locales")
}
doicon picard.ico
domenu picard.desktop
+
+ local DOC_CONTENTS="If you are upgrading Picard and it does not start,
+try removing Picard's settings:
+ rm ~/.config/MusicBrainz/Picard.conf
+
+You should set the environment variable BROWSER to something like
+ firefox '%s' &
+to let python know which browser to use."
readme.gentoo_create_doc
}
DOCS=( AUTHORS.txt NEWS.txt README.md )
-DOC_CONTENTS="Install optional package media-libs/chromaprint[tools] to enable
-calculation and lookup of AcoustID fingerprints.
-
-Install optional package dev-python/python-discid to enable
-calculation and lookup of compact disc identifiers (disc IDs).
-
-If you are upgrading Picard and it does not start, try removing
-Picard's settings:
- rm ~/.config/MusicBrainz/Picard.conf"
-
python_compile() {
local build_args=(
--disable-autoupdate
python_install_all() {
distutils-r1_python_install_all
+
+ local DOC_CONTENTS="Install optional package media-libs/chromaprint[tools] to enable
+calculation and lookup of AcoustID fingerprints.
+
+Install optional package dev-python/python-discid to enable
+calculation and lookup of compact disc identifiers (disc IDs).
+
+If you are upgrading Picard and it does not start, try removing
+Picard's settings:
+ rm ~/.config/MusicBrainz/Picard.conf"
readme.gentoo_create_doc
}
DOCS=( AUTHORS.txt NEWS.txt README.md )
-DOC_CONTENTS="Install optional package media-libs/chromaprint[tools] to enable
-calculation and lookup of AcoustID fingerprints.
-
-Install optional package dev-python/python-discid to enable
-calculation and lookup of compact disc identifiers (disc IDs).
-
-If you are upgrading Picard and it does not start, try removing
-Picard's settings:
- rm ~/.config/MusicBrainz/Picard.conf"
-
python_compile() {
local build_args=(
--disable-autoupdate
python_install_all() {
distutils-r1_python_install_all
+
+ local DOC_CONTENTS="Install optional package media-libs/chromaprint[tools] to enable
+calculation and lookup of AcoustID fingerprints.
+
+Install optional package dev-python/python-discid to enable
+calculation and lookup of compact disc identifiers (disc IDs).
+
+If you are upgrading Picard and it does not start, try removing
+Picard's settings:
+ rm ~/.config/MusicBrainz/Picard.conf"
readme.gentoo_create_doc
}