diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-04-27 12:20:39 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-04-27 12:20:39 +0000 |
commit | b7f02db5b7985245b471cdc285a6618ad4cb4bab (patch) | |
tree | 03e92a6c11269054e78178e6b004756972e7c6de /games-emulation | |
parent | x86 stable wrt bug #313345. Keywords for alpha, mips, ppc64 and sparc are (diff) | |
download | gentoo-2-b7f02db5b7985245b471cdc285a6618ad4cb4bab.tar.gz gentoo-2-b7f02db5b7985245b471cdc285a6618ad4cb4bab.tar.bz2 gentoo-2-b7f02db5b7985245b471cdc285a6618ad4cb4bab.zip |
Force python2 fixing bug #312247
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/gnomeboyadvance/ChangeLog | 8 | ||||
-rw-r--r-- | games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild | 20 |
2 files changed, 18 insertions, 10 deletions
diff --git a/games-emulation/gnomeboyadvance/ChangeLog b/games-emulation/gnomeboyadvance/ChangeLog index 7cb5d4e00571..426fbb61e456 100644 --- a/games-emulation/gnomeboyadvance/ChangeLog +++ b/games-emulation/gnomeboyadvance/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/gnomeboyadvance -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnomeboyadvance/ChangeLog,v 1.9 2007/02/07 13:56:41 nyhm Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnomeboyadvance/ChangeLog,v 1.10 2010/04/27 12:20:39 tupone Exp $ + + 27 Apr 2010; Tupone Alfredo <tupone@gentoo.org> + gnomeboyadvance-0.1.ebuild: + Force python2 fixing bug #312247 by arfrever@gentoo.org 07 Feb 2007; Tristan Heaven <nyhm@gentoo.org> gnomeboyadvance-0.1.ebuild: Use mirror://berlios diff --git a/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild b/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild index dc4a317e7fcf..797079917d21 100644 --- a/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild +++ b/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild,v 1.11 2007/02/07 13:56:41 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild,v 1.12 2010/04/27 12:20:39 tupone Exp $ +EAPI="2" +PYTHON_DEPEND="2" -inherit games +inherit python games DESCRIPTION="A GNOME Python frontend to VisualBoyAdvance" HOMEPAGE="http://developer.berlios.de/projects/gnomeboyadvance/" @@ -13,21 +15,23 @@ SLOT="0" KEYWORDS="ppc x86" IUSE="" -RDEPEND=">=dev-lang/python-2.2 - >=dev-python/gnome-python-1.99 +RDEPEND=">=dev-python/gnome-python-1.99 >=dev-python/pygtk-1.99 games-emulation/visualboyadvance" S=${WORKDIR}/gnomeBoyAdvance-0.1 -src_unpack() { - unpack ${A} - cd "${S}" +pkg_setup() { + python_set_active_version 2 + games_pkg_setup +} +src_prepare() { sed -i \ -e 's:/usr/share/:/usr/share/games/:' \ gnomeboyadvance \ || die "sed gnomeboyadvance failed" + python_convert_shebangs -r 2 ${PN} } src_install() { |