1 |
tupone 10/05/05 05:07:51 |
2 |
|
3 |
Modified: ChangeLog dragonhunt-3.56.ebuild |
4 |
Log: |
5 |
Force python2 fixing bug #312273 |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.6 games-rpg/dragonhunt/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/dragonhunt/ChangeLog?rev=1.6&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/dragonhunt/ChangeLog?rev=1.6&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/dragonhunt/ChangeLog?r1=1.5&r2=1.6 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/ChangeLog,v |
18 |
retrieving revision 1.5 |
19 |
retrieving revision 1.6 |
20 |
diff -u -r1.5 -r1.6 |
21 |
--- ChangeLog 18 Dec 2009 19:39:41 -0000 1.5 |
22 |
+++ ChangeLog 5 May 2010 05:07:50 -0000 1.6 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for games-rpg/dragonhunt |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/ChangeLog,v 1.5 2009/12/18 19:39:41 pacho Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/ChangeLog,v 1.6 2010/05/05 05:07:50 tupone Exp $ |
29 |
+ |
30 |
+ 05 May 2010; Tupone Alfredo <tupone@g.o> dragonhunt-3.56.ebuild: |
31 |
+ Force python2 fixing bug #312273 by arfrevergentoo.org |
32 |
|
33 |
18 Dec 2009; Pacho Ramos <pacho@g.o> dragonhunt-3.56.ebuild: |
34 |
amd64 stable, bug 289164 |
35 |
|
36 |
|
37 |
|
38 |
1.5 games-rpg/dragonhunt/dragonhunt-3.56.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56.ebuild?rev=1.5&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56.ebuild?rev=1.5&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56.ebuild?r1=1.4&r2=1.5 |
43 |
|
44 |
Index: dragonhunt-3.56.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56.ebuild,v |
47 |
retrieving revision 1.4 |
48 |
retrieving revision 1.5 |
49 |
diff -u -r1.4 -r1.5 |
50 |
--- dragonhunt-3.56.ebuild 18 Dec 2009 19:39:41 -0000 1.4 |
51 |
+++ dragonhunt-3.56.ebuild 5 May 2010 05:07:50 -0000 1.5 |
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-rpg/dragonhunt/dragonhunt-3.56.ebuild,v 1.4 2009/12/18 19:39:41 pacho Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56.ebuild,v 1.5 2010/05/05 05:07:50 tupone Exp $ |
58 |
|
59 |
EAPI=2 |
60 |
-inherit eutils games |
61 |
+PYTHON_DEPEND="2" |
62 |
+inherit eutils python games |
63 |
|
64 |
MY_P="Dragon_Hunt-${PV}" |
65 |
DESCRIPTION="A simple graphical RPG" |
66 |
@@ -15,11 +16,15 @@ |
67 |
KEYWORDS="amd64 x86" |
68 |
IUSE="" |
69 |
|
70 |
-RDEPEND="dev-lang/python |
71 |
- dev-python/pygame" |
72 |
+RDEPEND="dev-python/pygame" |
73 |
|
74 |
S=${WORKDIR}/${MY_P} |
75 |
|
76 |
+pkg_setup() { |
77 |
+ python_set_active_version 2 |
78 |
+ games_pkg_setup |
79 |
+} |
80 |
+ |
81 |
src_prepare() { |
82 |
# Where to look for modules to load. |
83 |
sed -i "s:\.\./modules/:${GAMES_DATADIR}/${PN}/:" \ |
84 |
@@ -58,8 +63,8 @@ |
85 |
insinto "$(games_get_libdir)"/${PN} |
86 |
doins code/*.py || die "doins code failed" |
87 |
|
88 |
- games_make_wrapper ${PN} "python ./rpg.py" "$(games_get_libdir)"/${PN} |
89 |
- games_make_wrapper ${PN}-mapeditor "python ./map_editor.py" \ |
90 |
+ games_make_wrapper ${PN} "$(PYTHON) ./rpg.py" "$(games_get_libdir)"/${PN} |
91 |
+ games_make_wrapper ${PN}-mapeditor "$(PYTHON) ./map_editor.py" \ |
92 |
"$(games_get_libdir)"/${PN} |
93 |
|
94 |
newicon modules/default/images/buttons/icon.png ${PN}.png |