[71795] trunk/dports/python

eborisch at macports.org eborisch at macports.org
Thu Sep 23 07:19:24 PDT 2010


Revision: 71795
          http://trac.macports.org/changeset/71795
Author:   eborisch at macports.org
Date:     2010-09-23 07:19:23 -0700 (Thu, 23 Sep 2010)
Log Message:
-----------
py27-matplotlib: new port
This is just a simple search & replace of py26-matplotlib Portfile & patches; works on the systems I have access to.

Modified Paths:
--------------
    trunk/dports/python/py27-matplotlib/Portfile
    trunk/dports/python/py27-matplotlib/files/patch-setupext.py.diff

Added Paths:
-----------
    trunk/dports/python/py27-matplotlib/

Modified: trunk/dports/python/py27-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py26-matplotlib/Portfile	2010-09-23 09:47:23 UTC (rev 71794)
+++ trunk/dports/python/py27-matplotlib/Portfile	2010-09-23 14:19:23 UTC (rev 71795)
@@ -1,12 +1,12 @@
 # $Id$
 
 PortSystem         1.0
-PortGroup          python26 1.0
+PortGroup          python27 1.0
 
 categories-append  graphics math
-name               py26-matplotlib
+name               py27-matplotlib
 version            1.0.0
-maintainers        ram openmaintainer
+maintainers        nomaintainer
 platforms          darwin
 
 description        matlab-like syntax for creating plots in python
@@ -27,11 +27,11 @@
 
 depends_lib-append port:freetype \
                    port:libpng \
-                   port:py26-dateutil \
-                   port:py26-tz \
-                   port:py26-numpy \
-                   port:py26-configobj \
-                   port:py26-pyobjc-cocoa
+                   port:py27-dateutil \
+                   port:py27-tz \
+                   port:py27-numpy \
+                   port:py27-configobj \
+                   port:py27-pyobjc-cocoa
 
 patchfiles         patch-setupext.py.diff \
                    patch-setup.cfg.diff \
@@ -63,14 +63,14 @@
 }
 
 variant cairo description "Enable Cairo backends" {
-  depends_lib-append port:py26-cairo
+  depends_lib-append port:py27-cairo
   post-patch {
     reinplace "s|MP_Cairo=False|MP_Cairo=True|" ${worksrcpath}/setupext.py
   }
 }
 
 variant gtk2 description "Enable GTKAgg backend" {
-  depends_lib-append port:py26-gtk
+  depends_lib-append port:py27-gtk
   post-patch {
     reinplace "s|^gtk=False|gtk=True|" ${worksrcpath}/setup.cfg
     reinplace "s|^gtkagg=False|gtkagg=True|" ${worksrcpath}/setup.cfg
@@ -84,14 +84,14 @@
 }
 
 variant wxpython description "Enable wxAgg backend" {
-  depends_lib-append port:py26-wxpython
+  depends_lib-append port:py27-wxpython
   post-patch {
     reinplace "s|^wxagg=False|wxagg=True|" ${worksrcpath}/setup.cfg
   }
 }
 
 variant qt4 description "Enable QT4Agg backend" {
-  depends_lib-append port:py26-pyqt4
+  depends_lib-append port:py27-pyqt4
   post-patch {
     reinplace "s|MP_QT4=False|MP_QT4=True|" ${worksrcpath}/setupext.py
   }

Modified: trunk/dports/python/py27-matplotlib/files/patch-setupext.py.diff
===================================================================
--- trunk/dports/python/py26-matplotlib/files/patch-setupext.py.diff	2010-09-23 09:47:23 UTC (rev 71794)
+++ trunk/dports/python/py27-matplotlib/files/patch-setupext.py.diff	2010-09-23 14:19:23 UTC (rev 71795)
@@ -21,7 +21,7 @@
                       [os.path.join(p, 'lib64')     for p in basedir[sys.platform] ] )
  
      module.include_dirs.extend(incdirs)
-+    module.include_dirs.extend(['@@MPORTS_PREFIX@@/include/python2.6'])
++    module.include_dirs.extend(['@@MPORTS_PREFIX@@/include/python2.7'])
      module.include_dirs.append('.')
      module.library_dirs.extend(libdirs)
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100923/b2f17989/attachment.html>


More information about the macports-changes mailing list