Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 315061
Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +11 lines)
Line  Link Here
0
-- pymp-1.1.ebuild
0
++ pymp-1.1.ebuild
Lines 1-8 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2011 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/pymp-1.1.ebuild,v 1.1 2009/07/16 08:08:58 ssuominen Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/pymp-1.1.ebuild,v 1.1 2009/07/16 08:08:58 ssuominen Exp $
4
4
5
EAPI=2
5
EAPI=3
6
PYTHON_DEPEND="2:2.5"
6
inherit eutils multilib python
7
inherit eutils multilib python
7
8
8
DESCRIPTION="a lean, flexible frontend to mplayer written in python"
9
DESCRIPTION="a lean, flexible frontend to mplayer written in python"
Lines 15-26 Link Here
15
IUSE=""
16
IUSE=""
16
17
17
RDEPEND="media-video/mplayer
18
RDEPEND="media-video/mplayer
18
	dev-python/pygtk
19
	dev-python/pygtk"
19
	>=dev-lang/python-2.5"
20
DEPEND="sys-apps/sed"
20
DEPEND="sys-apps/sed"
21
21
22
pkg_setup() {
23
	python_set_active_version 2
24
	python_pkg_setup
25
}
26
22
src_prepare() {
27
src_prepare() {
23
	sed -i -e "s:PREFIX/lib:/usr/$(get_libdir):" pymp || die "sed failed"
28
	sed -i -e "s/python/python2/" -e "s:PREFIX/lib:/usr/$(get_libdir):" pymp || die "sed failed"
24
}
29
}
25
30
26
src_compile() { :; }
31
src_compile() { :; }

Return to bug 315061