Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-mud/mcl: ChangeLog mcl-0.53.00.ebuild
Date: Wed, 21 Apr 2010 11:48:58
Message-Id: 20100421114851.26FD92C04B@corvid.gentoo.org
1 tupone 10/04/21 11:48:51
2
3 Modified: ChangeLog mcl-0.53.00.ebuild
4 Log:
5 Force python2 . Bug #312259
6 (Portage version: 2.1.8.3/cvs/Linux i686)
7
8 Revision Changes Path
9 1.20 games-mud/mcl/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/mcl/ChangeLog?rev=1.20&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/mcl/ChangeLog?rev=1.20&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/mcl/ChangeLog?r1=1.19&r2=1.20
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v
18 retrieving revision 1.19
19 retrieving revision 1.20
20 diff -u -r1.19 -r1.20
21 --- ChangeLog 13 Jun 2009 23:56:18 -0000 1.19
22 +++ ChangeLog 21 Apr 2010 11:48:50 -0000 1.20
23 @@ -1,6 +1,9 @@
24 # ChangeLog for games-mud/mcl
25 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.19 2009/06/13 23:56:18 nyhm Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.20 2010/04/21 11:48:50 tupone Exp $
29 +
30 + 21 Apr 2010; Tupone Alfredo <tupone@g.o> mcl-0.53.00.ebuild:
31 + Force python2 . Bug #312259 by arfrever@g.o
32
33 13 Jun 2009; Tristan Heaven <nyhm@g.o> mcl-0.53.00.ebuild,
34 +files/mcl-0.53.00-glibc2.10.patch:
35
36
37
38 1.20 games-mud/mcl/mcl-0.53.00.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild?rev=1.20&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild?rev=1.20&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild?r1=1.19&r2=1.20
43
44 Index: mcl-0.53.00.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild,v
47 retrieving revision 1.19
48 retrieving revision 1.20
49 diff -u -r1.19 -r1.20
50 --- mcl-0.53.00.ebuild 13 Jun 2009 23:56:18 -0000 1.19
51 +++ mcl-0.53.00.ebuild 21 Apr 2010 11:48:50 -0000 1.20
52 @@ -1,8 +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-mud/mcl/mcl-0.53.00.ebuild,v 1.19 2009/06/13 23:56:18 nyhm Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild,v 1.20 2010/04/21 11:48:50 tupone Exp $
58 +EAPI="2"
59 +PYTHON_DEPEND="python? 2"
60
61 -inherit eutils games
62 +inherit eutils python games
63
64 DESCRIPTION="A console MUD client scriptable in Perl and Python"
65 HOMEPAGE="http://www.andreasen.org/mcl/"
66 @@ -14,13 +16,14 @@
67 KEYWORDS="amd64 ppc x86"
68 IUSE="python perl"
69
70 -DEPEND="perl? ( dev-lang/perl )
71 - python? ( dev-lang/python )"
72 +DEPEND="perl? ( dev-lang/perl )"
73
74 -src_unpack() {
75 - unpack ${A}
76 - cd "${S}"
77 +pkg_setup() {
78 + python_set_active_version 2
79 + games_pkg_setup
80 +}
81
82 +src_prepare() {
83 epatch \
84 "${FILESDIR}"/${P}-fPIC.patch \
85 "${FILESDIR}"/${PV}-vc.patch \
86 @@ -43,12 +46,11 @@
87 || die "sed failed"
88 }
89
90 -src_compile() {
91 +src_configure() {
92 egamesconf \
93 $(use_enable perl) \
94 $(use_enable python) \
95 || die
96 - emake || die "emake failed"
97 }
98
99 src_install () {