summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-04-28 08:28:55 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-04-28 08:28:55 +0000
commit9c59bb48e0fb4c29cdd416431eaca3ce5a64293b (patch)
tree50045d8fac9158c3c6b3b4152c4e2b69c4eba7bf /games-emulation/gfceux
parentVersion bump. (diff)
downloadgentoo-2-9c59bb48e0fb4c29cdd416431eaca3ce5a64293b.tar.gz
gentoo-2-9c59bb48e0fb4c29cdd416431eaca3ce5a64293b.tar.bz2
gentoo-2-9c59bb48e0fb4c29cdd416431eaca3ce5a64293b.zip
Force python2 fixing bug #312245
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-emulation/gfceux')
-rw-r--r--games-emulation/gfceux/ChangeLog7
-rw-r--r--games-emulation/gfceux/gfceux-2.1.1.ebuild17
2 files changed, 16 insertions, 8 deletions
diff --git a/games-emulation/gfceux/ChangeLog b/games-emulation/gfceux/ChangeLog
index 81e6f73c425b..9903d2a261c2 100644
--- a/games-emulation/gfceux/ChangeLog
+++ b/games-emulation/gfceux/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/gfceux
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/ChangeLog,v 1.2 2009/11/02 21:09:38 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/ChangeLog,v 1.3 2010/04/28 08:28:55 tupone Exp $
+
+ 28 Apr 2010; Tupone Alfredo <tupone@gentoo.org> gfceux-2.1.1.ebuild:
+ Force python2 fixing bug #312245 by arfrever@gentoo.org
02 Nov 2009; Markus Meier <maekke@gentoo.org> gfceux-2.1.1.ebuild:
amd64/x86 stable, bug #291227
diff --git a/games-emulation/gfceux/gfceux-2.1.1.ebuild b/games-emulation/gfceux/gfceux-2.1.1.ebuild
index 4fd18f08ed50..48a13cb11afa 100644
--- a/games-emulation/gfceux/gfceux-2.1.1.ebuild
+++ b/games-emulation/gfceux/gfceux-2.1.1.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2009 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/gfceux/gfceux-2.1.1.ebuild,v 1.2 2009/11/02 21:09:38 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/gfceux-2.1.1.ebuild,v 1.3 2010/04/28 08:28:55 tupone Exp $
EAPI=2
-inherit eutils distutils games
+PYTHON_DEPEND="2:2.5"
+inherit eutils python distutils games
DESCRIPTION="A graphical frontend for the FCEUX emulator"
HOMEPAGE="http://fceux.com"
@@ -14,20 +15,24 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-DEPEND=">=dev-lang/python-2.5
- dev-python/pygtk"
+DEPEND="dev-python/pygtk"
RDEPEND="${DEPEND}
games-emulation/fceux"
S=${WORKDIR}/${PN}
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+
src_prepare() {
+ python_convert_shebangs -r 2 .
distutils_src_prepare
epatch "${FILESDIR}"/${P}-gentoo.patch
}
src_compile() {
- python_version
distutils_src_compile
}