[100410] trunk/dports/python/py-cairo/Portfile

dports at macports.org dports at macports.org
Mon Dec 10 19:56:52 PST 2012


Revision: 100410
          https://trac.macports.org/changeset/100410
Author:   dports at macports.org
Date:     2012-12-10 19:56:52 -0800 (Mon, 10 Dec 2012)
Log Message:
-----------
py-cairo: fix portindex error by not accessing ${python.version} in
stub port

Modified Paths:
--------------
    trunk/dports/python/py-cairo/Portfile

Modified: trunk/dports/python/py-cairo/Portfile
===================================================================
--- trunk/dports/python/py-cairo/Portfile	2012-12-11 03:49:31 UTC (rev 100409)
+++ trunk/dports/python/py-cairo/Portfile	2012-12-11 03:56:52 UTC (rev 100410)
@@ -29,11 +29,6 @@
 depends_build           port:pkgconfig
 depends_lib             path:lib/pkgconfig/cairo.pc:cairo
 
-if {${python.version} > 25} {
-    use_bzip2           yes
-    patchfiles-append   setup.py.patch
-}
-
 # fixes ticket 37254; can remove when we drop py25-*gtk*
 subport py25-cairo {
     version             1.8.2
@@ -70,6 +65,11 @@
         }
     }
 
+    if {${python.version} > 25} {
+        use_bzip2           yes
+        patchfiles-append   setup.py.patch
+    }
+
     post-extract {
         fs-traverse item ${worksrcpath} {
             if {[file isdirectory ${item}]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121210/dfbd61be/attachment.html>


More information about the macports-changes mailing list