ports/math/py-gato/files/patch-Gato.py
Mark Linimon 8123aa3674 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.
2003-12-18 07:07:37 +00:00

44 lines
1.5 KiB
Python

--- Gato.py.dist Thu Dec 18 00:34:01 2003
+++ Gato.py Thu Dec 18 00:35:50 2003
@@ -54,15 +54,15 @@
from tkFileDialog import askopenfilename, asksaveasfilename
from tkMessageBox import askokcancel, showerror, askyesno
from ScrolledText import ScrolledText
-from GatoConfiguration import GatoConfiguration
-from Graph import Graph
-from GraphUtil import *
-from GraphDisplay import GraphDisplayToplevel
-from GatoUtil import *
-from GatoGlobals import *
-from GatoDialogs import AboutBox, SplashScreen, HTMLViewer
-import GatoIcons
-import GatoSystemConfiguration
+from Gato.GatoConfiguration import GatoConfiguration
+from Gato.Graph import Graph
+from Gato.GraphUtil import *
+from Gato.GraphDisplay import GraphDisplayToplevel
+from Gato.GatoUtil import *
+from Gato.GatoGlobals import *
+from Gato.GatoDialogs import AboutBox, SplashScreen, HTMLViewer
+from Gato import GatoIcons
+import Gato.GatoSystemConfiguration
# put someplace else
def WMExtrasGeometry(window):
@@ -1397,11 +1397,11 @@
self.algoGlobals['A'] = self.GUI.graphDisplay
# XXX
# explictely loading packages we want to make available to the algorithm
- modules = ['DataStructures',
- 'AnimatedDataStructures',
- 'AnimatedAlgorithms',
- 'GraphUtil',
- 'GatoUtil']
+ modules = ['Gato.DataStructures',
+ 'Gato.AnimatedDataStructures',
+ 'Gato.AnimatedAlgorithms',
+ 'Gato.GraphUtil',
+ 'Gato.GatoUtil']
for m in modules:
exec("from %s import *" % m, self.algoGlobals, self.algoGlobals)