summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-04-21 11:48:50 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-04-21 11:48:50 +0000
commita0acab9137c7b67dbc3706e8a663b34ccaba381b (patch)
treedc1f463afaae4b4129bb7a0af2bee1181c7e006d /games-mud
parentForce python2 . Bug #312265 (diff)
downloadhistorical-a0acab9137c7b67dbc3706e8a663b34ccaba381b.tar.gz
historical-a0acab9137c7b67dbc3706e8a663b34ccaba381b.tar.bz2
historical-a0acab9137c7b67dbc3706e8a663b34ccaba381b.zip
Force python2 . Bug #312259
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-mud')
-rw-r--r--games-mud/mcl/ChangeLog7
-rw-r--r--games-mud/mcl/Manifest14
-rw-r--r--games-mud/mcl/mcl-0.53.00.ebuild22
3 files changed, 19 insertions, 24 deletions
diff --git a/games-mud/mcl/ChangeLog b/games-mud/mcl/ChangeLog
index be5629bd9c97..8da1dffad129 100644
--- a/games-mud/mcl/ChangeLog
+++ b/games-mud/mcl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-mud/mcl
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.19 2009/06/13 23:56:18 nyhm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.20 2010/04/21 11:48:50 tupone Exp $
+
+ 21 Apr 2010; Tupone Alfredo <tupone@gentoo.org> mcl-0.53.00.ebuild:
+ Force python2 . Bug #312259 by arfrever@gentoo.org
13 Jun 2009; Tristan Heaven <nyhm@gentoo.org> mcl-0.53.00.ebuild,
+files/mcl-0.53.00-glibc2.10.patch:
diff --git a/games-mud/mcl/Manifest b/games-mud/mcl/Manifest
index 167bcedeb1bc..f322ad7b32a9 100644
--- a/games-mud/mcl/Manifest
+++ b/games-mud/mcl/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 0.53.00-dynacomplete.patch 424 RMD160 e23684b1c954273654f22e49be2482a7fc8d0abb SHA1 00faa0e5a17284d44051e6fcb74e6aa91ff5f9f0 SHA256 73bb64b77abc92715182f19e53ff3ff806d7b27c952668da43cd7a7df11a75e4
AUX 0.53.00-vc.patch 1313 RMD160 bafc81e33ed922f1421409d1f41927e1dbba3ec9 SHA1 7f0a53e74314502b03c1df829749543ac7e8124a SHA256 bda3298a5653a28ea5e1b4621d9c04733f665de40bae33446fc60b729a7834a6
AUX mcl-0.53.00-fPIC.patch 797 RMD160 4952bd1e129c74e8767891c4ec42fd75be98c9a9 SHA1 7251111ecba5a31d0604dcb600f632c8d923b79f SHA256 7ec1d684ec485c66e559c3c3743c19be0fb5301269b42bf1851f9ed8bf39de69
@@ -10,13 +7,6 @@ AUX mcl-0.53.00-glibc2.10.patch 378 RMD160 10cdffab7546e497989f3a67ec57d27a50c51
AUX mcl-0.53.00-libdir.patch 1213 RMD160 d6021616f794df59467d6f9c6a36ffba13c00e5e SHA1 a7f1bb5e14e4b23537f857294aecec58ee4ab86e SHA256 2ae675268d606fe57956eeaa9087463e711ff562cd9f81ca05649c38e5ba0007
DIST mcl-0.53.00-inputlines.patch.gz 5631 RMD160 36460c13f95e26b19788ed68bb6e7397153f5888 SHA1 5e885e063c2016f776615a77322f6cbf34e2b700 SHA256 31348d4b516fa2f4ca7c96dc3367ad7eb9ddb511805f1a2d748088aac38592ab
DIST mcl-0.53.00-src.tar.gz 225100 RMD160 207f6494c579acbd814a2f70550833003a4729cd SHA1 1cd3df0301f4739a759ec968a931987be15277bb SHA256 39416133970e9b17e1e2aafc0eb6e1eb95f367c9882efba1439546b1702f43e2
-EBUILD mcl-0.53.00.ebuild 1499 RMD160 a17aa3ed9c257a25439321440c0ba10eaab05b14 SHA1 137d796d5fd7564abc653e8cf0c968554ba4e83f SHA256 727cce41ad38b5cd4cf271ac6b83c3cfad1fe191682f3943be825c63259b8aef
-MISC ChangeLog 2764 RMD160 5ff684836a856d7275bdd7b03f8e45eb893466fd SHA1 249a842b20b2a209fe900f98b3ffdbc0c60d7372 SHA256 9d90202cc99af58a5cdc6872a378140ccd7822abf498b6b9d0da05f41c2145ed
+EBUILD mcl-0.53.00.ebuild 1526 RMD160 edc58ac28ab9c024251401d97cda2275dd16414e SHA1 863b67fdfea657ab38e2b967f9a59d316f925388 SHA256 172571ff1b8a7a192083c710fac40ece981c7c4d5ff7847610c9c1d0776d1904
+MISC ChangeLog 2890 RMD160 1d81539c61544aaec2dfe87c9cd062e0d71394e5 SHA1 a06685878da037c35922f06fab18ae7bddd6acf6 SHA256 3173f0bf77168bbb26f18fecb20435a0da6fbe568c60bb0fd05f66af084aee49
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAko0PKcACgkQdz7hIScOURETqACgvkjN3s4OhQaudMIcbTn6lN+Q
-cyYAn0jn8LvwDZShh2VHpFIL3zNd9hQ7
-=IJNW
------END PGP SIGNATURE-----
diff --git a/games-mud/mcl/mcl-0.53.00.ebuild b/games-mud/mcl/mcl-0.53.00.ebuild
index 94034fa07e72..a139a1dce853 100644
--- a/games-mud/mcl/mcl-0.53.00.ebuild
+++ b/games-mud/mcl/mcl-0.53.00.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild,v 1.19 2009/06/13 23:56:18 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild,v 1.20 2010/04/21 11:48:50 tupone Exp $
+EAPI="2"
+PYTHON_DEPEND="python? 2"
-inherit eutils games
+inherit eutils python games
DESCRIPTION="A console MUD client scriptable in Perl and Python"
HOMEPAGE="http://www.andreasen.org/mcl/"
@@ -14,13 +16,14 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="python perl"
-DEPEND="perl? ( dev-lang/perl )
- python? ( dev-lang/python )"
+DEPEND="perl? ( dev-lang/perl )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+src_prepare() {
epatch \
"${FILESDIR}"/${P}-fPIC.patch \
"${FILESDIR}"/${PV}-vc.patch \
@@ -43,12 +46,11 @@ src_unpack() {
|| die "sed failed"
}
-src_compile() {
+src_configure() {
egamesconf \
$(use_enable perl) \
$(use_enable python) \
|| die
- emake || die "emake failed"
}
src_install () {