Update to 0.98I of 12/05/2003. The old version had not been fetchable

for over a year.  Adds priority queues, reworks menus, better integration
with TK.

Since the current maintainer is temporarily away from FreeBSD, anyone
interested in this port should consider volunteering to be its maintainer.
It appears to still be under active development.
This commit is contained in:
Mark Linimon 2003-12-18 07:07:37 +00:00
parent 4761b241a4
commit 8123aa3674
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96132
8 changed files with 42 additions and 66 deletions

View file

@ -6,7 +6,7 @@
# #
PORTNAME= gato PORTNAME= gato
PORTVERSION= 0.96.g PORTVERSION= 0.98.I
CATEGORIES= math python CATEGORIES= math python
MASTER_SITES= http://www.zpr.uni-koeln.de/~gato/Download/ MASTER_SITES= http://www.zpr.uni-koeln.de/~gato/Download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -1 +1 @@
MD5 (Gato-0.96G.tar) = c0c942acf0961847b07fb9a6cd7e535c MD5 (Gato-0.98I.tar) = 3ca25213e6f392f0722451e2d97b903d

View file

@ -1,17 +1,10 @@
--- Gato.py.orig Wed May 16 13:16:55 2001 --- Gato.py.dist Thu Dec 18 00:34:01 2003
+++ Gato.py Mon Sep 3 12:26:21 2001 +++ Gato.py Thu Dec 18 00:35:50 2003
@@ -38,7 +38,6 @@ @@ -54,15 +54,15 @@
import bdb from tkFileDialog import askopenfilename, asksaveasfilename
import whrandom from tkMessageBox import askokcancel, showerror, askyesno
import re
-import regsub
import string
import StringIO
import tokenize
@@ -49,13 +48,13 @@
from ScrolledText import ScrolledText from ScrolledText import ScrolledText
-from GatoConfiguration import GatoConfiguration
-from Graph import Graph -from Graph import Graph
-from GraphUtil import * -from GraphUtil import *
-from GraphDisplay import GraphDisplayToplevel -from GraphDisplay import GraphDisplayToplevel
@ -19,6 +12,8 @@
-from GatoGlobals import * -from GatoGlobals import *
-from GatoDialogs import AboutBox, SplashScreen, HTMLViewer -from GatoDialogs import AboutBox, SplashScreen, HTMLViewer
-import GatoIcons -import GatoIcons
-import GatoSystemConfiguration
+from Gato.GatoConfiguration import GatoConfiguration
+from Gato.Graph import Graph +from Gato.Graph import Graph
+from Gato.GraphUtil import * +from Gato.GraphUtil import *
+from Gato.GraphDisplay import GraphDisplayToplevel +from Gato.GraphDisplay import GraphDisplayToplevel
@ -26,19 +21,11 @@
+from Gato.GatoGlobals import * +from Gato.GatoGlobals import *
+from Gato.GatoDialogs import AboutBox, SplashScreen, HTMLViewer +from Gato.GatoDialogs import AboutBox, SplashScreen, HTMLViewer
+from Gato import GatoIcons +from Gato import GatoIcons
+import Gato.GatoSystemConfiguration
# put someplace else # put someplace else
def WMExtrasGeometry(window): def WMExtrasGeometry(window):
@@ -67,7 +66,7 @@ @@ -1397,11 +1397,11 @@
NOTE: Does not work with tk8.0 style menus, since those are
handled by WM (according to Tk8.1 docs) """
- g = regsub.split(window.geometry(),"+")
+ g = re.split("\+", window.geometry())
trueRootx = string.atoi(g[1])
trueRooty = string.atoi(g[2])
@@ -1159,11 +1158,11 @@
self.algoGlobals['A'] = self.GUI.graphDisplay self.algoGlobals['A'] = self.GUI.graphDisplay
# XXX # XXX
# explictely loading packages we want to make available to the algorithm # explictely loading packages we want to make available to the algorithm

View file

@ -1,13 +0,0 @@
--- GatoUtil.py.orig Wed May 16 13:16:56 2001
+++ GatoUtil.py Mon Sep 3 12:14:42 2001
@@ -40,8 +40,8 @@
def extension(pathAndFile):
""" Return ext if path/filename.ext is given """
- import regsub
- return regsub.split(stripPath(pathAndFile),"\.")[1]
+ import re
+ return re.split("\.", stripPath(pathAndFile))[1]
def stripPath(pathAndFile):
""" Return filename.ext if path/filename.ext is given """

View file

@ -1,11 +0,0 @@
--- Graph.py.orig Wed May 16 13:16:57 2001
+++ Graph.py Fri Aug 31 17:12:01 2001
@@ -31,7 +31,7 @@
#
################################################################################
-from regsub import split
+from re import split
from GatoGlobals import *
from DataStructures import Point2D, VertexLabeling, EdgeLabeling, EdgeWeight
from math import log

View file

@ -1,14 +1,5 @@
--- GraphUtil.py.orig Wed May 16 13:16:58 2001 --- GraphUtil.py.orig Wed May 16 13:16:58 2001
+++ GraphUtil.py Mon Sep 3 12:21:49 2001 +++ GraphUtil.py Mon Sep 3 12:21:49 2001
@@ -31,7 +31,7 @@
#
################################################################################
-from regsub import split
+from re import split
from GatoGlobals import *
from Graph import Graph
from DataStructures import Point2D, VertexLabeling, EdgeLabeling, EdgeWeight, VertexWeight, Queue
@@ -223,13 +223,13 @@ @@ -223,13 +223,13 @@
break break

View file

@ -1,32 +1,33 @@
--- Gred.py.orig Wed May 16 13:16:58 2001 --- Gred.py.orig Fri Dec 5 13:08:46 2003
+++ Gred.py Mon Sep 3 12:01:13 2001 +++ Gred.py Thu Dec 18 00:43:24 2003
@@ -31,16 +31,16 @@ @@ -34,17 +34,17 @@
# last change by $Author: schliep $. # last change by $Author: schliep $.
# #
################################################################################ ################################################################################
-from GatoGlobals import *
-import GatoGlobals # Needed for help viewer.XXX
-from Graph import Graph -from Graph import Graph
-from DataStructures import EdgeWeight, VertexWeight -from DataStructures import EdgeWeight, VertexWeight
-from GraphUtil import OpenCATBoxGraph, OpenGMLGraph, SaveCATBoxGraph, WeightedGraphInformer -from GraphUtil import OpenCATBoxGraph, OpenGMLGraph, SaveCATBoxGraph, WeightedGraphInformer
-from GraphEditor import GraphEditor -from GraphEditor import GraphEditor
+from Gato.GatoGlobals import *
+import Gato.GatoGlobals # Needed for help viewer.XXX
+from Gato.Graph import Graph +from Gato.Graph import Graph
+from Gato.DataStructures import EdgeWeight, VertexWeight +from Gato.DataStructures import EdgeWeight, VertexWeight
+from Gato.GraphUtil import OpenCATBoxGraph, OpenGMLGraph, SaveCATBoxGraph, WeightedGraphInformer +from Gato.GraphUtil import OpenCATBoxGraph, OpenGMLGraph, SaveCATBoxGraph, WeightedGraphInformer
+from Gato.GraphEditor import GraphEditor +from Gato.GraphEditor import GraphEditor
from Tkinter import * from Tkinter import *
import tkFont
-from GatoUtil import stripPath, extension, gatoPath -from GatoUtil import stripPath, extension, gatoPath
-from GatoGlobals import *
-import GatoDialogs -import GatoDialogs
-import GatoGlobals
-import GatoIcons -import GatoIcons
+from Gato.GatoUtil import stripPath, extension, gatoPath +from Gato.GatoUtil import stripPath, extension, gatoPath
+from Gato.GatoGlobals import *
+from Gato import GatoDialogs +from Gato import GatoDialogs
+from Gato import GatoGlobals
+from Gato import GatoIcons +from Gato import GatoIcons
from ScrolledText import * from ScrolledText import *
from tkFileDialog import askopenfilename, asksaveasfilename from tkFileDialog import askopenfilename, asksaveasfilename
@@ -51,7 +51,8 @@ @@ -55,7 +55,8 @@
import sys import sys
import os import os

View file

@ -14,18 +14,30 @@ lib/%%PYTHON_VERSION%%/site-packages/Gato/AnimatedDataStructures.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/DataStructures.py lib/%%PYTHON_VERSION%%/site-packages/Gato/DataStructures.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/DataStructures.pyc lib/%%PYTHON_VERSION%%/site-packages/Gato/DataStructures.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/DataStructures.pyo lib/%%PYTHON_VERSION%%/site-packages/Gato/DataStructures.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/EditObjectAttributesDialog.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/EditObjectAttributesDialog.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/EditObjectAttributesDialog.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/Embedder.py lib/%%PYTHON_VERSION%%/site-packages/Gato/Embedder.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/Embedder.pyc lib/%%PYTHON_VERSION%%/site-packages/Gato/Embedder.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/Embedder.pyo lib/%%PYTHON_VERSION%%/site-packages/Gato/Embedder.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoConfiguration.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoConfiguration.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoConfiguration.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoDialogs.py lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoDialogs.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoDialogs.pyc lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoDialogs.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoDialogs.pyo lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoDialogs.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoFile.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoFile.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoFile.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoGlobals.py lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoGlobals.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoGlobals.pyc lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoGlobals.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoGlobals.pyo lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoGlobals.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoIcons.py lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoIcons.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoIcons.pyc lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoIcons.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoIcons.pyo lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoIcons.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoSystemConfiguration.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoSystemConfiguration.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoSystemConfiguration.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoTest.py lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoTest.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoTest.pyc lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoTest.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoTest.pyo lib/%%PYTHON_VERSION%%/site-packages/Gato/GatoTest.pyo
@ -53,6 +65,15 @@ lib/%%PYTHON_VERSION%%/site-packages/Gato/PlanarEmbedding.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/PlanarityTest.py lib/%%PYTHON_VERSION%%/site-packages/Gato/PlanarityTest.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/PlanarityTest.pyc lib/%%PYTHON_VERSION%%/site-packages/Gato/PlanarityTest.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/PlanarityTest.pyo lib/%%PYTHON_VERSION%%/site-packages/Gato/PlanarityTest.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/TextTreeWidget.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/TextTreeWidget.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/TextTreeWidget.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/TreeWidget.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/TreeWidget.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/TreeWidget.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/logging.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/logging.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/logging.pyo
lib/%%PYTHON_VERSION%%/site-packages/Gato/__init__.py lib/%%PYTHON_VERSION%%/site-packages/Gato/__init__.py
lib/%%PYTHON_VERSION%%/site-packages/Gato/__init__.pyc lib/%%PYTHON_VERSION%%/site-packages/Gato/__init__.pyc
lib/%%PYTHON_VERSION%%/site-packages/Gato/__init__.pyo lib/%%PYTHON_VERSION%%/site-packages/Gato/__init__.pyo