1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
7 inherit bash-completion-r1 distutils-r1
9 DESCRIPTION="Music player that focuses on easy playlist management"
10 HOMEPAGE="http://www.nanoo.org/~daniel/moosic"
11 SRC_URI="http://www.nanoo.org/~daniel/${PN}/${P}.tar.gz"
15 KEYWORDS="amd64 ~ppc sparc x86"
19 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
21 python_prepare_all() {
22 sed -i -e 's:distutils.core:setuptools:' setup.py || die "sed failed"
23 distutils-r1_python_prepare_all
26 python_install_all() {
27 use doc && local HTML_DOCS=( doc/*.html )
29 distutils-r1_python_install_all
31 rm -rf "${D}"/usr/share/doc/${PN}
32 newbashcomp examples/completion ${PN}
33 dodoc doc/{Moosic_API.txt,moosic_hackers.txt,Todo}
34 dodoc examples/server_config