Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/moosic-1.5.4.ebuild,v 1.7 2010/05/28 21:27:28 arfrever Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/moosic-1.5.4.ebuild,v 1.7 2010/05/28 21:27:28 arfrever Exp $ |
4 |
|
4 |
|
5 |
EAPI="3" |
5 |
EAPI="3" |
6 |
inherit bash-completion distutils |
6 |
PYTHON_DEPEND="2" |
|
|
7 |
inherit bash-completion-r1 distutils |
7 |
|
8 |
|
8 |
DESCRIPTION="Moosic is a music player that focuses on easy playlist management" |
9 |
DESCRIPTION="Moosic is a music player that focuses on easy playlist management" |
9 |
HOMEPAGE="http://www.nanoo.org/~daniel/moosic" |
10 |
HOMEPAGE="http://www.nanoo.org/~daniel/moosic" |
Lines 22-31
Link Here
|
22 |
sed -i -e 's:distutils.core:setuptools:' setup.py || die "sed failed" |
23 |
sed -i -e 's:distutils.core:setuptools:' setup.py || die "sed failed" |
23 |
} |
24 |
} |
24 |
|
25 |
|
|
|
26 |
pkg_setup() { |
27 |
python_set_active_version 2 |
28 |
} |
29 |
|
25 |
src_install() { |
30 |
src_install() { |
26 |
distutils_src_install |
31 |
distutils_src_install |
27 |
rm -rf "${D}"/usr/share/doc/${PN} |
32 |
rm -rf "${D}"/usr/share/doc/${PN} |
28 |
dobashcompletion examples/completion ${PN} |
33 |
dobashcomp examples/completion ${PN} |
29 |
dodoc doc/{Moosic_API.txt,moosic_hackers.txt,Todo} |
34 |
dodoc doc/{Moosic_API.txt,moosic_hackers.txt,Todo} |
30 |
dodoc examples/server_config |
35 |
dodoc examples/server_config |
31 |
use doc && dohtml doc/*.html |
36 |
use doc && dohtml doc/*.html |
Lines 34-37
Link Here
|
34 |
pkg_postinst() { |
39 |
pkg_postinst() { |
35 |
bash-completion_pkg_postinst |
40 |
bash-completion_pkg_postinst |
36 |
distutils_pkg_postinst |
41 |
distutils_pkg_postinst |
|
|
42 |
python_mod_optimize |
43 |
} |
44 |
|
45 |
pkg_postinst() { |
46 |
python_mod_optimize PyQt4 |
37 |
} |
47 |
} |