[48002] trunk/dports/python

ram at macports.org ram at macports.org
Thu Mar 12 08:43:03 PDT 2009


Revision: 48002
          http://trac.macports.org/changeset/48002
Author:   ram at macports.org
Date:     2009-03-12 08:43:00 -0700 (Thu, 12 Mar 2009)
Log Message:
-----------
py-matplotlib/py25-matplotlib: only use pyobjc2 on Leopard, fixes #18797

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-12 07:52:17 UTC (rev 48001)
+++ trunk/dports/python/py-matplotlib/Portfile	2009-03-12 15:43:00 UTC (rev 48002)
@@ -6,7 +6,7 @@
 categories-append  graphics math
 name               py-matplotlib
 version            0.98.5.2
-revision           1
+revision           2
 maintainers        nomaintainer
 platforms          darwin
 
@@ -32,7 +32,7 @@
                    port:py-tz \
                    port:py-numpy \
                    port:py-configobj \
-                   port:py-pyobjc2-cocoa
+                   port:py-pyobjc
 
 patchfiles         patch-setupext.py.diff \
                    patch-setup.cfg.diff \
@@ -64,6 +64,11 @@
 \nhttp://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend\n"
 }
 
+platform darwin 9 {
+  depends_lib-delete port:py-pyobjc
+  depends_lib-append port:py-pyobjc2 port:py-pyobjc2-cocoa
+}
+
 variant cairo description "Enable Cairo backends" {
   depends_lib-append port:py-cairo
   post-patch {

Modified: trunk/dports/python/py25-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py25-matplotlib/Portfile	2009-03-12 07:52:17 UTC (rev 48001)
+++ trunk/dports/python/py25-matplotlib/Portfile	2009-03-12 15:43:00 UTC (rev 48002)
@@ -6,7 +6,7 @@
 categories-append  graphics math
 name               py25-matplotlib
 version            0.98.5.2
-revision           1
+revision           2
 maintainers        ram openmaintainer
 platforms          darwin
 
@@ -32,7 +32,7 @@
                    port:py25-tz \
                    port:py25-numpy \
                    port:py25-configobj \
-                   port:py25-pyobjc2-cocoa
+                   port:py25-pyobjc
 
 patchfiles         patch-setupext.py.diff \
                    patch-setup.cfg.diff \
@@ -64,6 +64,11 @@
 \nhttp://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend\n"
 }
 
+platform darwin 9 {
+  depends_lib-delete port:py25-pyobjc
+  depends_lib-append port:py25-pyobjc2 port:py25-pyobjc2-cocoa
+}
+
 variant cairo description "Enable Cairo backends" {
   depends_lib-append port:py25-cairo
   post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090312/222727e7/attachment.html>


More information about the macports-changes mailing list