ports/136462: upgrade math/py-gato from 0.99_1 to 0.99D

Kouki Hashimoto hsmtkk at gmail.com
Wed Jul 8 14:00:13 UTC 2009


>Number:         136462
>Category:       ports
>Synopsis:       upgrade math/py-gato from 0.99_1 to 0.99D
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 08 14:00:12 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kouki Hashimoto
>Release:        8.0-CURRENT
>Organization:
private
>Environment:
FreeBSD black.xenon.homeunix.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Jul  2 20:47:41 JST 2009     root at black.xenon.homeunix.net:/usr/obj/usr/src/sys/BLACK  i386

>Description:
upgrade math/py-gato from 0.99_1 to 0.99D

In FreeBSD ports, math/py-gato was last updated 07/30/2007.
The most recent version of Gato is 0.99D, which is available from 10/01/2008.

>How-To-Repeat:
This is upgrade request, so there is no problem.
>Fix:
apply the patch.
# cd /usr/ports/math/py-gato
# patch -p1 < /path/to/py-gato_patch.txt
# make install clean


Patch attached with submission follows:

diff -r 9e7b84a5d06b -r a57e857d2259 Makefile
--- a/Makefile	Wed Jul 08 22:01:24 2009 +0900
+++ b/Makefile	Wed Jul 08 22:39:52 2009 +0900
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	gato
-PORTVERSION=	0.99
-PORTREVISION=	1
+PORTVERSION=	0.99D
 CATEGORIES=	math python
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES=	http://gato.sourceforge.net/Download/
 MASTER_SITE_SUBDIR=	gato
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	Gato-${PORTVERSION}
diff -r 9e7b84a5d06b -r a57e857d2259 distinfo
--- a/distinfo	Wed Jul 08 22:01:24 2009 +0900
+++ b/distinfo	Wed Jul 08 22:39:52 2009 +0900
@@ -1,3 +1,3 @@
-MD5 (Gato-0.99.tar.gz) = 8e923bc25d98a0ddadcb7eef600e8306
-SHA256 (Gato-0.99.tar.gz) = 881bab443d56cafe7f2b58771be69bfc5156ab6fcdc76a07d1b6fa693821cb31
-SIZE (Gato-0.99.tar.gz) = 186494
+MD5 (Gato-0.99D.tar.gz) = 451ef1fd17e6f8b6355377ad325d78eb
+SHA256 (Gato-0.99D.tar.gz) = fc4d87073fe06a2dd9ce504b7481a7963ea4e641c531061bf31ae81cfdd3b06b
+SIZE (Gato-0.99.tar.gz) = 194444
diff -r 9e7b84a5d06b -r a57e857d2259 files/patch-Gato.py
--- a/files/patch-Gato.py	Wed Jul 08 22:01:24 2009 +0900
+++ b/files/patch-Gato.py	Wed Jul 08 22:39:52 2009 +0900
@@ -1,46 +1,12 @@
---- Gato.py	Fri Jan 20 15:15:55 2006
-+++ Gato.py	Wed Mar  8 15:23:21 2006
+--- Gato.py	Wed Jul 08 22:14:29 2009 +0900
++++ Gato.py	Wed Jul 08 22:16:07 2009 +0900
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python2.3
 +#!/usr/bin/env python
  ################################################################################
  #
  #       This file is part of Gato (Graph Animation Toolbox) 
-@@ -48,22 +48,22 @@
- import tkFont
- import copy
- 
--import Gred
-+from Gato import Gred
- 
- from Tkinter import *
- 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 AnimationHistory import AnimationHistory
-+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
-+from Gato import GatoSystemConfiguration
-+from Gato.AnimationHistory import AnimationHistory
- 
- # put someplace else
- def WMExtrasGeometry(window):
-@@ -1419,11 +1419,11 @@
+@@ -1590,11 +1590,11 @@
              self.algoGlobals['A'] = self.GUI.graphDisplay
              # XXX
              # explictely loading packages we want to make available to the algorithm
diff -r 9e7b84a5d06b -r a57e857d2259 files/patch-Gred.py
--- a/files/patch-Gred.py	Wed Jul 08 22:01:24 2009 +0900
+++ b/files/patch-Gred.py	Wed Jul 08 22:39:52 2009 +0900
@@ -1,5 +1,5 @@
---- Gred.py	Fri Jan 20 15:15:55 2006
-+++ Gred.py	Wed Mar  8 12:28:28 2006
+--- Gred.py	Wed Jul 08 22:14:29 2009 +0900
++++ Gred.py	Wed Jul 08 22:16:07 2009 +0900
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env python2.3
 +#!/usr/bin/env python
@@ -33,16 +33,16 @@
  from ScrolledText import *
  
  from tkFileDialog import askopenfilename, asksaveasfilename
-@@ -55,7 +55,7 @@
- import sys
+@@ -56,7 +56,7 @@
  import os
+ import webbrowser
  
 -import GraphCreator, Embedder
 +from Gato import GraphCreator, Embedder
  
  class GredSplashScreen(GatoDialogs.SplashScreen):
  
-@@ -843,7 +843,7 @@
+@@ -926,7 +926,7 @@
  ##    globals()['gVertexRadius'] = 12
  ##    globals()['gVertexFrameWidth'] = 0
  ##    globals()['gEdgeWidth'] = 2


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list