diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-22 17:21:19 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-02-22 17:21:19 +0000 |
commit | f1dae24ef6e0fdc723a8189960611f8e76700973 (patch) | |
tree | 943b228dbbbeae5512d746b2ea6883427ec38abb /media-sound/ifp-gnome | |
parent | version bump (diff) | |
download | gentoo-2-f1dae24ef6e0fdc723a8189960611f8e76700973.tar.gz gentoo-2-f1dae24ef6e0fdc723a8189960611f8e76700973.tar.bz2 gentoo-2-f1dae24ef6e0fdc723a8189960611f8e76700973.zip |
Use python.eclass to convert shebang. Fix gnome-python dependencies wrt #352928 by Pacho Ramos.
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/ifp-gnome')
-rw-r--r-- | media-sound/ifp-gnome/ChangeLog | 12 | ||||
-rw-r--r-- | media-sound/ifp-gnome/ifp-gnome-0.7.ebuild | 28 |
2 files changed, 22 insertions, 18 deletions
diff --git a/media-sound/ifp-gnome/ChangeLog b/media-sound/ifp-gnome/ChangeLog index 76806757f4fb..6dd44565b0b8 100644 --- a/media-sound/ifp-gnome/ChangeLog +++ b/media-sound/ifp-gnome/ChangeLog @@ -1,12 +1,10 @@ # ChangeLog for media-sound/ifp-gnome -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ifp-gnome/ChangeLog,v 1.3 2007/08/19 16:54:31 drac Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ifp-gnome/ChangeLog,v 1.4 2011/02/22 17:21:19 ssuominen Exp $ - 19 Aug 2007; Samuli Suominen <drac@gentoo.org> ifp-gnome-0.7.ebuild: - Clean up install functions. - - 03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: - Regenerate digest in Manifest2 format. + 22 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> ifp-gnome-0.7.ebuild: + Use python.eclass to convert shebang. Fix gnome-python dependencies wrt + #352928 by Pacho Ramos. *ifp-gnome-0.7 (27 Jan 2006) diff --git a/media-sound/ifp-gnome/ifp-gnome-0.7.ebuild b/media-sound/ifp-gnome/ifp-gnome-0.7.ebuild index ae3910655c14..455e03a218cd 100644 --- a/media-sound/ifp-gnome/ifp-gnome-0.7.ebuild +++ b/media-sound/ifp-gnome/ifp-gnome-0.7.ebuild @@ -1,8 +1,11 @@ -# 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-sound/ifp-gnome/ifp-gnome-0.7.ebuild,v 1.3 2009/08/03 12:54:46 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ifp-gnome/ifp-gnome-0.7.ebuild,v 1.4 2011/02/22 17:21:19 ssuominen Exp $ -inherit eutils +EAPI=2 + +PYTHON_DEPEND=2 +inherit eutils python DESCRIPTION="Gnome front-end for file management on iRiver iFP MP3 players." HOMEPAGE="http://ifp-gnome.sourceforge.net" @@ -13,19 +16,22 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND=">=dev-python/pyifp-0.2.2 - >=dev-python/gnome-python-2.12" -DEPEND="${RDEPEND}" +RDEPEND=">=dev-python/libgnome-python-2 + >=dev-python/pygtk-2 + >=dev-python/pyifp-0.2.2" +DEPEND="" S=${WORKDIR}/${PN} -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-file-locations.patch +pkg_setup() { + python_set_active_version 2 + python_pkg_setup } -src_compile() { :; } +src_prepare() { + python_convert_shebangs 2 ${PN}.py + epatch "${FILESDIR}"/${P}-file-locations.patch +} src_install() { insinto /usr/share/${PN} |