/[gentoo-x86]/media-sound/moosic/moosic-1.5.6-r1.ebuild
Gentoo

Contents of /media-sound/moosic/moosic-1.5.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Jan 2 12:16:36 2015 UTC (5 years, 11 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Stable for sparc, wrt bug #524824

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="sparc", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/moosic-1.5.6-r1.ebuild,v 1.3 2014/12/28 12:05:20 ago Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8 inherit bash-completion-r1 distutils-r1
9
10 DESCRIPTION="Music player that focuses on easy playlist management"
11 HOMEPAGE="http://www.nanoo.org/~daniel/moosic"
12 SRC_URI="http://www.nanoo.org/~daniel/${PN}/${P}.tar.gz"
13
14 LICENSE="Unlicense"
15 SLOT="0"
16 KEYWORDS="amd64 ~ppc sparc x86"
17 IUSE="doc"
18
19 RDEPEND=""
20 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
21
22 python_prepare_all() {
23 sed -i -e 's:distutils.core:setuptools:' setup.py || die "sed failed"
24 distutils-r1_python_prepare_all
25 }
26
27 python_install_all() {
28 use doc && local HTML_DOCS=( doc/*.html )
29
30 distutils-r1_python_install_all
31
32 rm -rf "${D}"/usr/share/doc/${PN}
33 newbashcomp examples/completion ${PN}
34 dodoc doc/{Moosic_API.txt,moosic_hackers.txt,Todo}
35 dodoc examples/server_config
36 }

  ViewVC Help
Powered by ViewVC 1.1.20