1 |
tupone 10/04/28 09:17:11 |
2 |
|
3 |
Modified: ChangeLog scid-4.2.2.ebuild |
4 |
Log: |
5 |
Force pyhton2 fixing bug #312243 |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.29 games-board/scid/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/scid/ChangeLog?rev=1.29&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/scid/ChangeLog?rev=1.29&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/scid/ChangeLog?r1=1.28&r2=1.29 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v |
18 |
retrieving revision 1.28 |
19 |
retrieving revision 1.29 |
20 |
diff -u -r1.28 -r1.29 |
21 |
--- ChangeLog 24 Mar 2010 14:09:42 -0000 1.28 |
22 |
+++ ChangeLog 28 Apr 2010 09:17:10 -0000 1.29 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for games-board/scid |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.28 2010/03/24 14:09:42 ranger Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.29 2010/04/28 09:17:10 tupone Exp $ |
28 |
+ |
29 |
+ 28 Apr 2010; Tupone Alfredo <tupone@g.o> scid-4.2.2.ebuild, |
30 |
+ files/scid-4.2.2-gentoo.patch: |
31 |
+ Force pyhton2 fixing bug #312243 by arfrever@g.o |
32 |
|
33 |
24 Mar 2010; Brent Baude <ranger@g.o> scid-4.2.2.ebuild: |
34 |
stable ppc, bug 306683 |
35 |
|
36 |
|
37 |
|
38 |
1.6 games-board/scid/scid-4.2.2.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/scid/scid-4.2.2.ebuild?rev=1.6&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/scid/scid-4.2.2.ebuild?rev=1.6&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/scid/scid-4.2.2.ebuild?r1=1.5&r2=1.6 |
43 |
|
44 |
Index: scid-4.2.2.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/games-board/scid/scid-4.2.2.ebuild,v |
47 |
retrieving revision 1.5 |
48 |
retrieving revision 1.6 |
49 |
diff -u -r1.5 -r1.6 |
50 |
--- scid-4.2.2.ebuild 24 Mar 2010 14:09:42 -0000 1.5 |
51 |
+++ scid-4.2.2.ebuild 28 Apr 2010 09:17:11 -0000 1.6 |
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-board/scid/scid-4.2.2.ebuild,v 1.5 2010/03/24 14:09:42 ranger Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-4.2.2.ebuild,v 1.6 2010/04/28 09:17:11 tupone Exp $ |
57 |
|
58 |
EAPI=2 |
59 |
-inherit eutils toolchain-funcs games |
60 |
+PYTHON_DEPEND="2" |
61 |
+inherit eutils toolchain-funcs python games |
62 |
|
63 |
DESCRIPTION="a free chess database application" |
64 |
HOMEPAGE="http://scid.sourceforge.net/" |
65 |
@@ -23,11 +24,15 @@ |
66 |
app-arch/unzip" |
67 |
RDEPEND="${DEPEND} |
68 |
!games-board/chessdb |
69 |
- x11-libs/libX11 |
70 |
- >=dev-lang/python-2.1" |
71 |
+ x11-libs/libX11" |
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 "${FILESDIR}"/${P}-gentoo.patch |
82 |
sed -i \ |
83 |
@@ -37,6 +42,7 @@ |
84 |
src/scidlet.cpp \ |
85 |
|| die "sed failed" |
86 |
gzip ../ratings_2009_01.ssp |
87 |
+ python_convert_shebangs -r 2 . |
88 |
} |
89 |
|
90 |
src_configure() { |