[71277] trunk/dports/x11/xorg-xcb-proto/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Sep 7 10:49:03 PDT 2010


Revision: 71277
          http://trac.macports.org/changeset/71277
Author:   jeremyhu at macports.org
Date:     2010-09-07 10:49:00 -0700 (Tue, 07 Sep 2010)
Log Message:
-----------
xorg-xcb-proto: Add more python version variants

Modified Paths:
--------------
    trunk/dports/x11/xorg-xcb-proto/Portfile

Modified: trunk/dports/x11/xorg-xcb-proto/Portfile
===================================================================
--- trunk/dports/x11/xorg-xcb-proto/Portfile	2010-09-07 17:12:14 UTC (rev 71276)
+++ trunk/dports/x11/xorg-xcb-proto/Portfile	2010-09-07 17:49:00 UTC (rev 71277)
@@ -21,19 +21,33 @@
 
 depends_run     port:libxml2
 
-variant python25 conflicts python26 description {Use python 2.5 for xcbgen} {
+variant python25 conflicts python26 python27 python31 python32 description {Use python 2.5} {
     depends_run-append      port:python25
     configure.python        ${prefix}/bin/python2.5
 }
 
-variant python26 conflicts python25 description {Use python 2.6 for xcbgen} {
+variant python26 conflicts python25 python27 python31 python32 description {Use python 2.6} {
     depends_run-append      port:python26
     configure.python        ${prefix}/bin/python2.6
-    destroot.target-append  pythondir=${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
 }
 
-# Default to 2.6 since 2.5 fails universal for me on Leopard... Ticket #17501
-if {![variant_isset python25]} {
+variant python27 conflicts python25 python26 python31 python32 description {Use python 2.7} {
+    depends_run-append      port:python27
+    configure.python        ${prefix}/bin/python2.7
+}
+
+variant python31 conflicts python25 python26 python27 python32 description {Use python 3.1} {
+    depends_run-append      port:python31
+    configure.python        ${prefix}/bin/python3.1
+}
+
+variant python32 conflicts python25 python26 python27 python31 description {Use python 3.2} {
+    depends_run-append      port:python32
+    configure.python        ${prefix}/bin/python3.2
+}
+
+# Default to 2.6 since 2.5 fails universal on Leopard... Ticket #17501
+if {![variant_isset python25] && ![variant_isset python27] && ![variant_isset python31] && ![variant_isset python32]} {
     default_variants +python26
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100907/f59a2558/attachment-0001.html>


More information about the macports-changes mailing list