1 |
tupone 10/04/29 15:37:45 |
2 |
|
3 |
Modified: ChangeLog gnubg-20100107.ebuild |
4 |
Log: |
5 |
Force python2 fixing bug #312239 |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.54 games-board/gnubg/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/ChangeLog?rev=1.54&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/ChangeLog?rev=1.54&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/ChangeLog?r1=1.53&r2=1.54 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v |
18 |
retrieving revision 1.53 |
19 |
retrieving revision 1.54 |
20 |
diff -u -r1.53 -r1.54 |
21 |
--- ChangeLog 27 Feb 2010 18:03:01 -0000 1.53 |
22 |
+++ ChangeLog 29 Apr 2010 15:37:45 -0000 1.54 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for games-board/gnubg |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.53 2010/02/27 18:03:01 phajdan.jr Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.54 2010/04/29 15:37:45 tupone Exp $ |
28 |
+ |
29 |
+ 29 Apr 2010; Tupone Alfredo <tupone@g.o> gnubg-20100107.ebuild: |
30 |
+ Force python2 fixing bug #312239 by arfrever@g.o |
31 |
|
32 |
27 Feb 2010; Pawel Hajdan jr <phajdan.jr@g.o> |
33 |
gnubg-20100107.ebuild: |
34 |
|
35 |
|
36 |
|
37 |
1.4 games-board/gnubg/gnubg-20100107.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild?rev=1.4&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild?rev=1.4&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild?r1=1.3&r2=1.4 |
42 |
|
43 |
Index: gnubg-20100107.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild,v |
46 |
retrieving revision 1.3 |
47 |
retrieving revision 1.4 |
48 |
diff -u -r1.3 -r1.4 |
49 |
--- gnubg-20100107.ebuild 27 Feb 2010 18:03:01 -0000 1.3 |
50 |
+++ gnubg-20100107.ebuild 29 Apr 2010 15:37:45 -0000 1.4 |
51 |
@@ -1,9 +1,10 @@ |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild,v 1.3 2010/02/27 18:03:01 phajdan.jr Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-20100107.ebuild,v 1.4 2010/04/29 15:37:45 tupone Exp $ |
56 |
|
57 |
EAPI=2 |
58 |
-inherit autotools eutils games |
59 |
+PYTHON_DEPEND="python? 2" |
60 |
+inherit autotools eutils python games |
61 |
|
62 |
DESCRIPTION="GNU BackGammon" |
63 |
HOMEPAGE="http://www.gnubg.org/" |
64 |
@@ -40,6 +41,11 @@ |
65 |
|
66 |
S=${WORKDIR}/${PN} |
67 |
|
68 |
+pkg_setup() { |
69 |
+ python_set_active_version 2 |
70 |
+ games_pkg_setup |
71 |
+} |
72 |
+ |
73 |
src_prepare() { |
74 |
# use ${T} instead of /tmp for constructing credits (bug #298275) |
75 |
sed -i \ |
76 |
@@ -47,6 +53,7 @@ |
77 |
credits.sh \ |
78 |
|| die 'sed failed' |
79 |
epatch "${FILESDIR}"/${P}-build.patch |
80 |
+ python_convert_shebangs -r 2 python-config |
81 |
eautoreconf |
82 |
} |