1 |
tupone 10/04/25 15:38:49 |
2 |
|
3 |
Modified: ChangeLog pytraffic-2.5.4.ebuild |
4 |
Log: |
5 |
Force python2 fixing bug #312253 |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.11 games-kids/pytraffic/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/pytraffic/ChangeLog?rev=1.11&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/pytraffic/ChangeLog?rev=1.11&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/pytraffic/ChangeLog?r1=1.10&r2=1.11 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-kids/pytraffic/ChangeLog,v |
18 |
retrieving revision 1.10 |
19 |
retrieving revision 1.11 |
20 |
diff -u -r1.10 -r1.11 |
21 |
--- ChangeLog 22 Feb 2009 15:54:44 -0000 1.10 |
22 |
+++ ChangeLog 25 Apr 2010 15:38:49 -0000 1.11 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for games-kids/pytraffic |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/ChangeLog,v 1.10 2009/02/22 15:54:44 armin76 Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/ChangeLog,v 1.11 2010/04/25 15:38:49 tupone Exp $ |
29 |
+ |
30 |
+ 25 Apr 2010; Tupone Alfredo <tupone@g.o> pytraffic-2.5.4.ebuild: |
31 |
+ Force python2 fixing bug #312253 by arfrever@g.o |
32 |
|
33 |
22 Feb 2009; Raúl Porcel <armin76@g.o> pytraffic-2.5.4.ebuild: |
34 |
x86 stable wrt #257812 |
35 |
|
36 |
|
37 |
|
38 |
1.5 games-kids/pytraffic/pytraffic-2.5.4.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/pytraffic/pytraffic-2.5.4.ebuild?rev=1.5&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/pytraffic/pytraffic-2.5.4.ebuild?rev=1.5&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/pytraffic/pytraffic-2.5.4.ebuild?r1=1.4&r2=1.5 |
43 |
|
44 |
Index: pytraffic-2.5.4.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/games-kids/pytraffic/pytraffic-2.5.4.ebuild,v |
47 |
retrieving revision 1.4 |
48 |
retrieving revision 1.5 |
49 |
diff -u -r1.4 -r1.5 |
50 |
--- pytraffic-2.5.4.ebuild 22 Feb 2009 15:54:44 -0000 1.4 |
51 |
+++ pytraffic-2.5.4.ebuild 25 Apr 2010 15:38:49 -0000 1.5 |
52 |
@@ -1,8 +1,9 @@ |
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-kids/pytraffic/pytraffic-2.5.4.ebuild,v 1.4 2009/02/22 15:54:44 armin76 Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/pytraffic-2.5.4.ebuild,v 1.5 2010/04/25 15:38:49 tupone Exp $ |
58 |
+PYTHON_DEPEND="2" |
59 |
|
60 |
-inherit distutils eutils games |
61 |
+inherit python distutils eutils games |
62 |
|
63 |
DESCRIPTION="Python version of the board game Rush Hour" |
64 |
HOMEPAGE="http://alpha.uhasselt.be/Research/Algebra/Members/pytraffic/" |
65 |
@@ -34,7 +35,7 @@ |
66 |
dosym {"$(games_get_libdir)","${GAMES_DATADIR}"}/${PN}/_sdl_mixer.so \ |
67 |
|| die "dosym _sdl_mixer.so failed" |
68 |
|
69 |
- games_make_wrapper ${PN} "python ./Main.py" "${GAMES_DATADIR}"/${PN} |
70 |
+ games_make_wrapper ${PN} "$(PYTHON) ./Main.py" "${GAMES_DATADIR}"/${PN} |
71 |
doicon icons/64x64/${PN}.png |
72 |
make_desktop_entry ${PN} PyTraffic |
73 |
|
74 |
@@ -44,6 +45,11 @@ |
75 |
prepgamesdirs |
76 |
} |
77 |
|
78 |
+pkg_setup() { |
79 |
+ python_set_active_version 2 |
80 |
+ games_pkg_setup |
81 |
+} |
82 |
+ |
83 |
pkg_postinst() { |
84 |
distutils_pkg_postinst |
85 |
games_pkg_postinst |