summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-12-07 13:50:29 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-12-07 13:50:29 +0000
commit93dbe40f524d41a3ad106f461da3713f0f184706 (patch)
tree237f6b272538b651c8479e9d72435019d40cdedb /games-mud/lyntin
parentVersion bump, may fix bug #249650. (diff)
downloadgentoo-2-93dbe40f524d41a3ad106f461da3713f0f184706.tar.gz
gentoo-2-93dbe40f524d41a3ad106f461da3713f0f184706.tar.bz2
gentoo-2-93dbe40f524d41a3ad106f461da3713f0f184706.zip
version bump; also skip the tk check in python when USE=-tk (report by Yaroslav Gorbunov via bug #249940)
(Portage version: 2.1.4.5)
Diffstat (limited to 'games-mud/lyntin')
-rw-r--r--games-mud/lyntin/ChangeLog11
-rw-r--r--games-mud/lyntin/lyntin-4.1.1.ebuild6
-rw-r--r--games-mud/lyntin/lyntin-4.2.ebuild49
3 files changed, 61 insertions, 5 deletions
diff --git a/games-mud/lyntin/ChangeLog b/games-mud/lyntin/ChangeLog
index a38bd9c82dd7..91a19b731de0 100644
--- a/games-mud/lyntin/ChangeLog
+++ b/games-mud/lyntin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-mud/lyntin
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/lyntin/ChangeLog,v 1.7 2007/03/12 17:02:52 genone Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/lyntin/ChangeLog,v 1.8 2008/12/07 13:50:29 mr_bones_ Exp $
+
+*lyntin-4.2 (07 Dec 2008)
+
+ 07 Dec 2008; Michael Sterrett <mr_bones_@gentoo.org> lyntin-4.1.1.ebuild,
+ +lyntin-4.2.ebuild:
+ version bump; also skip the tk check in python when USE=-tk (report by
+ Yaroslav Gorbunov via bug #249940)
12 Mar 2007; Marius Mauch <genone@gentoo.org> lyntin-4.1.1.ebuild:
Replacing einfo with elog
diff --git a/games-mud/lyntin/lyntin-4.1.1.ebuild b/games-mud/lyntin/lyntin-4.1.1.ebuild
index f2e04c4fb76a..ca8a649f2eef 100644
--- a/games-mud/lyntin/lyntin-4.1.1.ebuild
+++ b/games-mud/lyntin/lyntin-4.1.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/lyntin/lyntin-4.1.1.ebuild,v 1.12 2008/01/17 18:20:13 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/lyntin/lyntin-4.1.1.ebuild,v 1.13 2008/12/07 13:50:29 mr_bones_ Exp $
inherit eutils games distutils
@@ -19,7 +19,7 @@ DOCS="COMMANDS PKG-INFO HACKING README"
pkg_setup() {
games_pkg_setup
- if ! built_with_use dev-lang/python tk ; then
+ if use tk && ! built_with_use dev-lang/python tk ; then
eerror "You need to emerge python with USE=tk set."
echo
die "missing tkinter support with installed python"
diff --git a/games-mud/lyntin/lyntin-4.2.ebuild b/games-mud/lyntin/lyntin-4.2.ebuild
new file mode 100644
index 000000000000..ff360d76ab3b
--- /dev/null
+++ b/games-mud/lyntin/lyntin-4.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/lyntin/lyntin-4.2.ebuild,v 1.1 2008/12/07 13:50:29 mr_bones_ Exp $
+
+inherit eutils games distutils
+
+DESCRIPTION="tintin mud client clone implemented in Python"
+HOMEPAGE="http://lyntin.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lyntin/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="tk"
+
+DEPEND=">=dev-lang/python-2.2.3"
+
+DOCS="COMMANDS PKG-INFO HACKING README"
+
+pkg_setup() {
+ games_pkg_setup
+ if use tk && ! built_with_use dev-lang/python tk ; then
+ eerror "You need to emerge python with USE=tk set."
+ echo
+ die "missing tkinter support with installed python"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+ dogamesbin "${D}/usr/bin/runlyntin" || die "dogamesbin failed"
+ rm -rf "${D}/usr/bin/"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if use tk ; then
+ elog "To start lyntin in GUI mode, create a config file"
+ elog "with this in it:"
+ elog
+ elog "[Lyntin]"
+ elog "ui: tk"
+ elog
+ elog "Then start lyntin like this:"
+ elog
+ elog "runlyntin -c /path/to/config_file\n"
+ fi
+}