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 | eee00159a820f059e18ee83a9850d7564a1ae0f1 (patch) | |
tree | 406f324b64bbb4b189697b98fdc76d47beec2b6b /media-sound/ifp-gnome/ifp-gnome-0.7.ebuild | |
parent | version bump (diff) | |
download | historical-eee00159a820f059e18ee83a9850d7564a1ae0f1.tar.gz historical-eee00159a820f059e18ee83a9850d7564a1ae0f1.tar.bz2 historical-eee00159a820f059e18ee83a9850d7564a1ae0f1.zip |
Use python.eclass to convert shebang. Fix gnome-python dependencies wrt #352928 by Pacho Ramos.
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'media-sound/ifp-gnome/ifp-gnome-0.7.ebuild')
-rw-r--r-- | media-sound/ifp-gnome/ifp-gnome-0.7.ebuild | 28 |
1 files changed, 17 insertions, 11 deletions
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} |