[45788] trunk/dports/python

ram at macports.org ram at macports.org
Wed Jan 21 20:19:56 PST 2009


Revision: 45788
          http://trac.macports.org/changeset/45788
Author:   ram at macports.org
Date:     2009-01-21 20:19:55 -0800 (Wed, 21 Jan 2009)
Log Message:
-----------
py-matplotlib/py25-matplotlib: support CocoaAgg backend

Modified Paths:
--------------
    trunk/dports/python/py-matplotlib/Portfile
    trunk/dports/python/py25-matplotlib/Portfile

Added Paths:
-----------
    trunk/dports/python/py-matplotlib/files/patch-backend_cocoaagg.py.diff
    trunk/dports/python/py25-matplotlib/files/patch-backend_cocoaagg.py.diff

Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile	2009-01-22 03:52:26 UTC (rev 45787)
+++ trunk/dports/python/py-matplotlib/Portfile	2009-01-22 04:19:55 UTC (rev 45788)
@@ -6,6 +6,7 @@
 categories-append  graphics math
 name               py-matplotlib
 version            0.98.5.2
+revision           1
 maintainers        nomaintainer
 platforms          darwin
 
@@ -30,11 +31,13 @@
                    port:py-dateutil \
                    port:py-tz \
                    port:py-numpy \
-                   port:py-configobj
+                   port:py-configobj \
+                   port:py-pyobjc2-cocoa
 
 patchfiles         patch-setupext.py.diff \
                    patch-setup.cfg.diff \
-                   patch-disable_optional_deps.diff
+                   patch-disable_optional_deps.diff \
+                   patch-backend_cocoaagg.py.diff
 
 build.env          MPLIB_BASE="${prefix}"
 

Added: trunk/dports/python/py-matplotlib/files/patch-backend_cocoaagg.py.diff
===================================================================
--- trunk/dports/python/py-matplotlib/files/patch-backend_cocoaagg.py.diff	                        (rev 0)
+++ trunk/dports/python/py-matplotlib/files/patch-backend_cocoaagg.py.diff	2009-01-22 04:19:55 UTC (rev 45788)
@@ -0,0 +1,11 @@
+--- lib/matplotlib/backends/backend_cocoaagg.py	2008-12-16 11:55:45.000000000 -0600
++++ lib/matplotlib/backends/backend_cocoaagg.py	2009-01-21 22:07:54.000000000 -0600
+@@ -29,7 +29,7 @@
+ 
+ import matplotlib
+ from matplotlib.figure import Figure
+-from matplotlib.backend_bases import FigureManagerBase
++from matplotlib.backend_bases import FigureManagerBase, FigureCanvasBase
+ from backend_agg import FigureCanvasAgg
+ from matplotlib._pylab_helpers import Gcf
+ 

Modified: trunk/dports/python/py25-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py25-matplotlib/Portfile	2009-01-22 03:52:26 UTC (rev 45787)
+++ trunk/dports/python/py25-matplotlib/Portfile	2009-01-22 04:19:55 UTC (rev 45788)
@@ -6,6 +6,7 @@
 categories-append  graphics math
 name               py25-matplotlib
 version            0.98.5.2
+revision           1
 maintainers        ram openmaintainer
 platforms          darwin
 
@@ -30,11 +31,13 @@
                    port:py25-dateutil \
                    port:py25-tz \
                    port:py25-numpy \
-                   port:py25-configobj
+                   port:py25-configobj \
+                   port:py25-pyobjc2-cocoa
 
 patchfiles         patch-setupext.py.diff \
                    patch-setup.cfg.diff \
-                   patch-disable_optional_deps.diff
+                   patch-disable_optional_deps.diff \
+                   patch-backend_cocoaagg.py.diff
 
 build.env          MPLIB_BASE="${prefix}"
 

Added: trunk/dports/python/py25-matplotlib/files/patch-backend_cocoaagg.py.diff
===================================================================
--- trunk/dports/python/py25-matplotlib/files/patch-backend_cocoaagg.py.diff	                        (rev 0)
+++ trunk/dports/python/py25-matplotlib/files/patch-backend_cocoaagg.py.diff	2009-01-22 04:19:55 UTC (rev 45788)
@@ -0,0 +1,11 @@
+--- lib/matplotlib/backends/backend_cocoaagg.py	2008-12-16 11:55:45.000000000 -0600
++++ lib/matplotlib/backends/backend_cocoaagg.py	2009-01-21 22:07:54.000000000 -0600
+@@ -29,7 +29,7 @@
+ 
+ import matplotlib
+ from matplotlib.figure import Figure
+-from matplotlib.backend_bases import FigureManagerBase
++from matplotlib.backend_bases import FigureManagerBase, FigureCanvasBase
+ from backend_agg import FigureCanvasAgg
+ from matplotlib._pylab_helpers import Gcf
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090121/6c8268d0/attachment-0001.html>


More information about the macports-changes mailing list