diff options
author | Jesus Rivero <neurogeek@gentoo.org> | 2011-07-29 16:07:58 +0000 |
---|---|---|
committer | Jesus Rivero <neurogeek@gentoo.org> | 2011-07-29 16:07:58 +0000 |
commit | c6df342a4fffdb3704a0e5ed79f23671240a1f10 (patch) | |
tree | 41bdef48b68216f6b6a5c16ab317b0643c61ada1 /media-video/pymp | |
parent | version bumped (diff) | |
download | gentoo-2-c6df342a4fffdb3704a0e5ed79f23671240a1f10.tar.gz gentoo-2-c6df342a4fffdb3704a0e5ed79f23671240a1f10.tar.bz2 gentoo-2-c6df342a4fffdb3704a0e5ed79f23671240a1f10.zip |
Python related improvements wrt bug #315061
(Portage version: 2.2.0_alpha46/cvs/Linux i686)
Diffstat (limited to 'media-video/pymp')
-rw-r--r-- | media-video/pymp/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/pymp/pymp-1.1.ebuild | 17 |
2 files changed, 16 insertions, 8 deletions
diff --git a/media-video/pymp/ChangeLog b/media-video/pymp/ChangeLog index c0edbdb0467a..87887f3380a6 100644 --- a/media-video/pymp/ChangeLog +++ b/media-video/pymp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-video/pymp -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/ChangeLog,v 1.6 2009/07/16 08:08:58 ssuominen Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/ChangeLog,v 1.7 2011/07/29 16:07:58 neurogeek Exp $ + + 29 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> pymp-1.1.ebuild: + Python related improvements wrt bug #315061 *pymp-1.1 (16 Jul 2009) diff --git a/media-video/pymp/pymp-1.1.ebuild b/media-video/pymp/pymp-1.1.ebuild index 0e99fad2d75c..e0fd411ef272 100644 --- a/media-video/pymp/pymp-1.1.ebuild +++ b/media-video/pymp/pymp-1.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/pymp-1.1.ebuild,v 1.1 2009/07/16 08:08:58 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/pymp/pymp-1.1.ebuild,v 1.2 2011/07/29 16:07:58 neurogeek Exp $ -EAPI=2 +EAPI=3 +PYTHON_DEPEND="2:2.5" inherit eutils multilib python DESCRIPTION="a lean, flexible frontend to mplayer written in python" @@ -15,12 +16,16 @@ KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="media-video/mplayer - dev-python/pygtk - >=dev-lang/python-2.5" + dev-python/pygtk" DEPEND="sys-apps/sed" +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_prepare() { - sed -i -e "s:PREFIX/lib:/usr/$(get_libdir):" pymp || die "sed failed" + sed -i -e "s/python/python2/" -e "s:PREFIX/lib:/usr/$(get_libdir):" pymp || die "sed failed" } src_compile() { :; } |