summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-08-24 13:29:01 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-08-24 13:29:01 +0000
commit4eb1e66501fe09bd7b73488aa257895ee96f3eb2 (patch)
tree6104bccba01519f785789156cfda209fd2cac4a2 /sci-misc
parentbump to 0.20.2 with VERSION and LIBVERSION (diff)
downloadgentoo-2-4eb1e66501fe09bd7b73488aa257895ee96f3eb2.tar.gz
gentoo-2-4eb1e66501fe09bd7b73488aa257895ee96f3eb2.tar.bz2
gentoo-2-4eb1e66501fe09bd7b73488aa257895ee96f3eb2.zip
Version bump (see bug #189978).
(Portage version: 2.1.3.6)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/gato/ChangeLog9
-rw-r--r--sci-misc/gato/files/digest-gato-0.996
-rw-r--r--sci-misc/gato/files/gato-0.99-python.patch22
-rw-r--r--sci-misc/gato/gato-0.98p.ebuild4
-rw-r--r--sci-misc/gato/gato-0.99.ebuild59
5 files changed, 97 insertions, 3 deletions
diff --git a/sci-misc/gato/ChangeLog b/sci-misc/gato/ChangeLog
index c2a942a14158..cb5df0d243c8 100644
--- a/sci-misc/gato/ChangeLog
+++ b/sci-misc/gato/ChangeLog
@@ -1,6 +1,13 @@
# 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.6 2007/02/09 05:26:25 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/ChangeLog,v 1.7 2007/08/24 13:29:01 markusle Exp $
+
+*gato-0.99 (24 Aug 2007)
+
+ 24 Aug 2007; Markus Dittrich <markusle@gentoo.org>
+ +files/gato-0.99-python.patch, +gato-0.99.ebuild:
+ Version bump (see bug #189978). Thanks much to Andres Becerra
+ Sandoval <abecerra@puj.edu.co> for his ebuild.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/sci-misc/gato/files/digest-gato-0.99 b/sci-misc/gato/files/digest-gato-0.99
new file mode 100644
index 000000000000..fd1c4b5a375f
--- /dev/null
+++ b/sci-misc/gato/files/digest-gato-0.99
@@ -0,0 +1,6 @@
+MD5 8e923bc25d98a0ddadcb7eef600e8306 Gato-0.99.tar.gz 186494
+RMD160 a5bd815645fc2cd39691846223d2830677bf7527 Gato-0.99.tar.gz 186494
+SHA256 881bab443d56cafe7f2b58771be69bfc5156ab6fcdc76a07d1b6fa693821cb31 Gato-0.99.tar.gz 186494
+MD5 1bb863c388b01d5d6183cedeeec586aa Gato-Doc-0.99.tar.gz 122019
+RMD160 0ca1692f427b49a8e50ab7b25445b6ba12f9574d Gato-Doc-0.99.tar.gz 122019
+SHA256 084a7ce1df1016d11a24683f7650ea20a59a774b3e070a67c169a0ac13757fc5 Gato-Doc-0.99.tar.gz 122019
diff --git a/sci-misc/gato/files/gato-0.99-python.patch b/sci-misc/gato/files/gato-0.99-python.patch
new file mode 100644
index 000000000000..db78336edbab
--- /dev/null
+++ b/sci-misc/gato/files/gato-0.99-python.patch
@@ -0,0 +1,22 @@
+diff -Naur Gato/DataStructures.py Gato-patched/DataStructures.py
+--- Gato/DataStructures.py 2006-09-05 07:13:38.000000000 -0500
++++ Gato-patched/DataStructures.py 2007-08-23 18:54:01.000000000 -0500
+@@ -37,8 +37,8 @@
+ ################################################################################
+
+
+-from GatoGlobals import *
+ from __future__ import generators #Needed for PQImplementation
++from GatoGlobals import *
+
+
+ ################################################################################
+diff -Naur Gato/Gato.py Gato-patched/Gato.py
+--- Gato/Gato.py 2006-09-05 07:13:38.000000000 -0500
++++ Gato-patched/Gato.py 2007-08-23 18:49:04.000000000 -0500
+@@ -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 921607fbefb4..04c30671da21 100644
--- a/sci-misc/gato/gato-0.98p.ebuild
+++ b/sci-misc/gato/gato-0.98p.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 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.2 2007/06/26 02:44:15 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/gato-0.98p.ebuild,v 1.3 2007/08/24 13:29:01 markusle Exp $
inherit eutils
diff --git a/sci-misc/gato/gato-0.99.ebuild b/sci-misc/gato/gato-0.99.ebuild
new file mode 100644
index 000000000000..aa1254f1bc63
--- /dev/null
+++ b/sci-misc/gato/gato-0.99.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2007 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 $
+
+inherit eutils
+
+MY_P="Gato"
+MY_PV="0.99"
+
+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"
+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
+}