[48823] trunk/dports/python

ram at macports.org ram at macports.org
Sun Mar 29 14:27:13 PDT 2009


Revision: 48823
          http://trac.macports.org/changeset/48823
Author:   ram at macports.org
Date:     2009-03-29 14:27:13 -0700 (Sun, 29 Mar 2009)
Log Message:
-----------
py-matplotlib/py25-matplotlib: enable Qt4Agg backend, closes #19006

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

Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile	2009-03-29 21:13:12 UTC (rev 48822)
+++ trunk/dports/python/py-matplotlib/Portfile	2009-03-29 21:27:13 UTC (rev 48823)
@@ -98,6 +98,13 @@
   }
 }
 
+variant qt4 description "Enable QT4Agg backend" {
+  depends_lib-append port:py-pyqt4
+  post-patch {
+    reinplace "s|MP_QT4=False|MP_QT4=True|" ${worksrcpath}/setupext.py
+  }
+}
+
 variant latex description "Enable LaTeX support" {
   depends_lib-append port:texlive
   post-patch {

Modified: trunk/dports/python/py25-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py25-matplotlib/Portfile	2009-03-29 21:13:12 UTC (rev 48822)
+++ trunk/dports/python/py25-matplotlib/Portfile	2009-03-29 21:27:13 UTC (rev 48823)
@@ -98,6 +98,13 @@
   }
 }
 
+variant qt4 description "Enable QT4Agg backend" {
+  depends_lib-append port:py25-pyqt4
+  post-patch {
+    reinplace "s|MP_QT4=False|MP_QT4=True|" ${worksrcpath}/setupext.py
+  }
+}
+
 variant latex description "Enable LaTeX support" {
   depends_lib-append port:texlive
   post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090329/f703764e/attachment.html>


More information about the macports-changes mailing list