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

g5pw at macports.org g5pw at macports.org
Thu Dec 6 02:30:02 PST 2012


Revision: 100267
          https://trac.macports.org/changeset/100267
Author:   g5pw at macports.org
Date:     2012-12-06 02:30:01 -0800 (Thu, 06 Dec 2012)
Log Message:
-----------
python/py-cairo:
  moved post-configure block into x11 variant
  change post-configure to pre-configure (thanks, Ryan)
  disable py33-cairo because the dependency py33-numpy does not exist

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

Modified: trunk/dports/python/py-cairo/Portfile
===================================================================
--- trunk/dports/python/py-cairo/Portfile	2012-12-06 06:53:08 UTC (rev 100266)
+++ trunk/dports/python/py-cairo/Portfile	2012-12-06 10:30:01 UTC (rev 100267)
@@ -24,7 +24,7 @@
 checksums               rmd160  7d1c1c05113e5bbad32dbe96c65c918b170cac33 \
                         sha256  9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be
 
-python.versions         26 27 31 32 33
+python.versions         26 27 31 32
 python.default_version  27
 
 depends_build           port:pkgconfig
@@ -55,12 +55,6 @@
     livecheck.regex      "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
 
-post-configure {
-    if {[variant_isset x11]} {
-	require_active_variants cairo x11
-    }
-}
-
 platform darwin 9 {
     post-patch {
         reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/cairo/Makefile.in
@@ -77,6 +71,10 @@
     }
 }
 
-variant x11 {}
+variant x11 {
+    pre-configure {
+	require_active_variants cairo x11
+    }
+}
 
 default_variants        +x11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121206/cec5c90a/attachment-0001.html>


More information about the macports-changes mailing list