1 |
tupone 10/05/04 06:20:09 |
2 |
|
3 |
Modified: ChangeLog accelerator3d-0.1.1-r1.ebuild |
4 |
Log: |
5 |
Force python2 fixing bug #312227 |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.8 games-action/accelerator3d/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/accelerator3d/ChangeLog?rev=1.8&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/accelerator3d/ChangeLog?rev=1.8&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/accelerator3d/ChangeLog?r1=1.7&r2=1.8 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v |
18 |
retrieving revision 1.7 |
19 |
retrieving revision 1.8 |
20 |
diff -u -r1.7 -r1.8 |
21 |
--- ChangeLog 9 Apr 2010 19:14:40 -0000 1.7 |
22 |
+++ ChangeLog 4 May 2010 06:20:09 -0000 1.8 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for games-action/accelerator3d |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.7 2010/04/09 19:14:40 phajdan.jr Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.8 2010/05/04 06:20:09 tupone Exp $ |
28 |
+ |
29 |
+ 04 May 2010; Tupone Alfredo <tupone@g.o> |
30 |
+ accelerator3d-0.1.1-r1.ebuild: |
31 |
+ Force python2 fixing bug #312227 by arferever@g.o |
32 |
|
33 |
09 Apr 2010; Pawel Hajdan jr <phajdan.jr@g.o> |
34 |
accelerator3d-0.1.1-r1.ebuild: |
35 |
|
36 |
|
37 |
|
38 |
1.3 games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: accelerator3d-0.1.1-r1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- accelerator3d-0.1.1-r1.ebuild 9 Apr 2010 19:14:40 -0000 1.2 |
51 |
+++ accelerator3d-0.1.1-r1.ebuild 4 May 2010 06:20:09 -0000 1.3 |
52 |
@@ -1,9 +1,10 @@ |
53 |
# Copyright 1999-2010 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild,v 1.2 2010/04/09 19:14:40 phajdan.jr Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r1.ebuild,v 1.3 2010/05/04 06:20:09 tupone Exp $ |
57 |
|
58 |
EAPI=2 |
59 |
-inherit eutils games |
60 |
+PYTHON_DEPEND="2" |
61 |
+inherit eutils python games |
62 |
|
63 |
DESCRIPTION="Fast-paced, 3D, first-person shoot/dodge-'em-up, in the vain of Tempest or n2o" |
64 |
HOMEPAGE="http://accelerator3d.sourceforge.net/" |
65 |
@@ -16,11 +17,15 @@ |
66 |
|
67 |
DEPEND="dev-python/pyode |
68 |
dev-python/pygame |
69 |
- dev-python/pyopengl |
70 |
- virtual/python" |
71 |
+ dev-python/pyopengl" |
72 |
|
73 |
S=${WORKDIR}/${PN} |
74 |
|
75 |
+pkg_setup() { |
76 |
+ python_set_active_version 2 |
77 |
+ games_pkg_setup |
78 |
+} |
79 |
+ |
80 |
src_prepare() { |
81 |
epatch \ |
82 |
"${FILESDIR}"/${P}-gentoo-paths.patch \ |
83 |
@@ -28,6 +33,7 @@ |
84 |
sed -i \ |
85 |
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ |
86 |
accelerator.py || die |
87 |
+ python_convert_shebangs 2 accelerator.py |
88 |
} |
89 |
|
90 |
src_install() { |