1 |
tupone 10/04/28 08:28:55 |
2 |
|
3 |
Modified: ChangeLog gfceux-2.1.1.ebuild |
4 |
Log: |
5 |
Force python2 fixing bug #312245 |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 games-emulation/gfceux/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/gfceux/ChangeLog?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/gfceux/ChangeLog?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/gfceux/ChangeLog?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/gfceux/ChangeLog,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- ChangeLog 2 Nov 2009 21:09:38 -0000 1.2 |
22 |
+++ ChangeLog 28 Apr 2010 08:28:55 -0000 1.3 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for games-emulation/gfceux |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/ChangeLog,v 1.2 2009/11/02 21:09:38 maekke Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/ChangeLog,v 1.3 2010/04/28 08:28:55 tupone Exp $ |
29 |
+ |
30 |
+ 28 Apr 2010; Tupone Alfredo <tupone@g.o> gfceux-2.1.1.ebuild: |
31 |
+ Force python2 fixing bug #312245 by arfrever@g.o |
32 |
|
33 |
02 Nov 2009; Markus Meier <maekke@g.o> gfceux-2.1.1.ebuild: |
34 |
amd64/x86 stable, bug #291227 |
35 |
|
36 |
|
37 |
|
38 |
1.3 games-emulation/gfceux/gfceux-2.1.1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/gfceux/gfceux-2.1.1.ebuild?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/gfceux/gfceux-2.1.1.ebuild?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/gfceux/gfceux-2.1.1.ebuild?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: gfceux-2.1.1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/gfceux/gfceux-2.1.1.ebuild,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- gfceux-2.1.1.ebuild 2 Nov 2009 21:09:38 -0000 1.2 |
51 |
+++ gfceux-2.1.1.ebuild 28 Apr 2010 08:28:55 -0000 1.3 |
52 |
@@ -1,9 +1,10 @@ |
53 |
-# Copyright 1999-2009 Gentoo Foundation |
54 |
+# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/gfceux-2.1.1.ebuild,v 1.2 2009/11/02 21:09:38 maekke Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gfceux/gfceux-2.1.1.ebuild,v 1.3 2010/04/28 08:28:55 tupone Exp $ |
58 |
|
59 |
EAPI=2 |
60 |
-inherit eutils distutils games |
61 |
+PYTHON_DEPEND="2:2.5" |
62 |
+inherit eutils python distutils games |
63 |
|
64 |
DESCRIPTION="A graphical frontend for the FCEUX emulator" |
65 |
HOMEPAGE="http://fceux.com" |
66 |
@@ -14,20 +15,24 @@ |
67 |
KEYWORDS="amd64 x86" |
68 |
IUSE="" |
69 |
|
70 |
-DEPEND=">=dev-lang/python-2.5 |
71 |
- dev-python/pygtk" |
72 |
+DEPEND="dev-python/pygtk" |
73 |
RDEPEND="${DEPEND} |
74 |
games-emulation/fceux" |
75 |
|
76 |
S=${WORKDIR}/${PN} |
77 |
|
78 |
+pkg_setup() { |
79 |
+ python_set_active_version 2 |
80 |
+ games_pkg_setup |
81 |
+} |
82 |
+ |
83 |
src_prepare() { |
84 |
+ python_convert_shebangs -r 2 . |
85 |
distutils_src_prepare |
86 |
epatch "${FILESDIR}"/${P}-gentoo.patch |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
- python_version |
91 |
distutils_src_compile |
92 |
} |