summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-01-29 13:34:41 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-01-29 13:34:41 +0000
commit4199345306589777ada9d588c900b60ffe7f274d (patch)
tree49e600a0e264a5bc7aee0464c50b47ada41d179c /sci-misc/gato
parentVersion bump (diff)
downloadgentoo-2-4199345306589777ada9d588c900b60ffe7f274d.tar.gz
gentoo-2-4199345306589777ada9d588c900b60ffe7f274d.tar.bz2
gentoo-2-4199345306589777ada9d588c900b60ffe7f274d.zip
Version bump (fixes bug #207672).
(Portage version: 2.1.4)
Diffstat (limited to 'sci-misc/gato')
-rw-r--r--sci-misc/gato/ChangeLog10
-rw-r--r--sci-misc/gato/files/digest-gato-0.99c6
-rw-r--r--sci-misc/gato/files/gato-0.99c-python.patch17
-rw-r--r--sci-misc/gato/gato-0.98p.ebuild4
-rw-r--r--sci-misc/gato/gato-0.99.ebuild4
-rw-r--r--sci-misc/gato/gato-0.99c.ebuild59
6 files changed, 94 insertions, 6 deletions
diff --git a/sci-misc/gato/ChangeLog b/sci-misc/gato/ChangeLog
index cb5df0d243c8..9e06f22f935e 100644
--- a/sci-misc/gato/ChangeLog
+++ b/sci-misc/gato/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-misc/gato
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/ChangeLog,v 1.7 2007/08/24 13:29:01 markusle Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/ChangeLog,v 1.8 2008/01/29 13:34:40 markusle Exp $
+
+*gato-0.99c (29 Jan 2008)
+
+ 29 Jan 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/gato-0.99c-python.patch, +gato-0.99c.ebuild:
+ Version bump (fixes bug #207672).
*gato-0.99 (24 Aug 2007)
diff --git a/sci-misc/gato/files/digest-gato-0.99c b/sci-misc/gato/files/digest-gato-0.99c
new file mode 100644
index 000000000000..6bf84060ce31
--- /dev/null
+++ b/sci-misc/gato/files/digest-gato-0.99c
@@ -0,0 +1,6 @@
+MD5 f58b6701ea1b6bc0060b8ee14ff86a96 Gato-0.99C.tar.gz 194234
+RMD160 220e41a80c806f548bfc22c926df7d456128e991 Gato-0.99C.tar.gz 194234
+SHA256 21f946ac9fa46b76e9224028d658eb8f5494c1171854efa65f3d8d3e8569c507 Gato-0.99C.tar.gz 194234
+MD5 49962d728a364f98e9583a3038e0f38d Gato-Doc-0.99C.tar.gz 68349
+RMD160 92dc6c63945cd76f639121377b996bde7a00813b Gato-Doc-0.99C.tar.gz 68349
+SHA256 542514880d40afaafb95bfd80c52f26d02d38ad25c5610f0df404d36f24a449b Gato-Doc-0.99C.tar.gz 68349
diff --git a/sci-misc/gato/files/gato-0.99c-python.patch b/sci-misc/gato/files/gato-0.99c-python.patch
new file mode 100644
index 000000000000..01fea326a86c
--- /dev/null
+++ b/sci-misc/gato/files/gato-0.99c-python.patch
@@ -0,0 +1,17 @@
+--- Gato/Gato.py 2008-01-27 14:10:49.000000000 +0100
++++ Gato-patched/Gato.py 2008-01-27 14:12:37.000000000 +0100
+@@ -1,4 +1,5 @@
+-#!/usr/bin/env python2.3
++#!/usr/bin/env python
++
+ ################################################################################
+ #
+ # This file is part of Gato (Graph Animation Toolbox)
+--- Gato/Gred.py 2008-01-27 14:17:02.000000000 +0100
++++ Gato-patched/Gred.py 2008-01-27 14:17:25.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2.3
++#!/usr/bin/env python
+ ################################################################################
+ #
+ # This file is part of Gato (Graph Animation Toolbox)
diff --git a/sci-misc/gato/gato-0.98p.ebuild b/sci-misc/gato/gato-0.98p.ebuild
index 04c30671da21..448d4a456e39 100644
--- a/sci-misc/gato/gato-0.98p.ebuild
+++ b/sci-misc/gato/gato-0.98p.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/sci-misc/gato/gato-0.98p.ebuild,v 1.3 2007/08/24 13:29:01 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/gato-0.98p.ebuild,v 1.4 2008/01/29 13:34:40 markusle Exp $
inherit eutils
diff --git a/sci-misc/gato/gato-0.99.ebuild b/sci-misc/gato/gato-0.99.ebuild
index aa1254f1bc63..a17651782aa8 100644
--- a/sci-misc/gato/gato-0.99.ebuild
+++ b/sci-misc/gato/gato-0.99.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/sci-misc/gato/gato-0.99.ebuild,v 1.1 2007/08/24 13:29:01 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/gato-0.99.ebuild,v 1.2 2008/01/29 13:34:40 markusle Exp $
inherit eutils
diff --git a/sci-misc/gato/gato-0.99c.ebuild b/sci-misc/gato/gato-0.99c.ebuild
new file mode 100644
index 000000000000..06960e23353b
--- /dev/null
+++ b/sci-misc/gato/gato-0.99c.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/gato-0.99c.ebuild,v 1.1 2008/01/29 13:34:40 markusle Exp $
+
+inherit eutils
+
+MY_P="Gato"
+MY_PV="0.99C"
+
+DESCRIPTION="Graph Animation Toolbox"
+LICENSE="LGPL-2"
+HOMEPAGE="http://gato.sourceforge.net/"
+SRC_URI="http://gato.sourceforge.net/Download/${MY_P}-${MY_PV}.tar.gz
+ doc? ( http://gato.sourceforge.net/Download/${MY_P}-Doc-${MY_PV}.tar.gz )"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND="dev-lang/python
+ dev-lang/tk"
+
+S="${WORKDIR}"/Gato
+GATO_DOC="${WORKDIR}"/Doc
+
+src_unpack() {
+ unpack ${A}
+
+ # convert to python2.4
+ epatch "${FILESDIR}"/${P}-python.patch
+
+ cd "${S}"
+ # change TKinter call to avoid crashing of X
+ sed -e "s:self.overrideredirect(1):self.overrideredirect(0):" \
+ -i GatoDialogs.py || die "failed to patch GatoDialogs.py"
+}
+
+src_install() {
+
+ # install python code
+ insinto /usr/lib/${PN}
+ doins *.py || die "Failed to install python files"
+ fperms 755 /usr/lib/${PN}/Gato.py /usr/lib/${PN}/Gred.py
+
+ # create symlinks
+ dodir /usr/bin
+ dosym /usr/lib/${PN}/Gato.py /usr/bin/gato
+ dosym /usr/lib/${PN}/Gred.py /usr/bin/gred
+
+ # install data files
+ insinto /usr/share/${PN}
+ doins BFS.* DFS.* sample.cat || die "failed to data files"
+
+ # install docs
+ if use doc; then
+ dohtml -r ${GATO_DOC}/*
+ fi
+}