[146576] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Sat Mar 12 05:30:18 PST 2016


Revision: 146576
          https://trac.macports.org/changeset/146576
Author:   ryandesign at macports.org
Date:     2016-03-12 05:30:18 -0800 (Sat, 12 Mar 2016)
Log Message:
-----------
InsightToolkit312, InsightToolkit314: make python25 the default variant only if the user has not already selected the python24 variant

Modified Paths:
--------------
    trunk/dports/graphics/InsightToolkit312/Portfile
    trunk/dports/graphics/InsightToolkit314/Portfile

Modified: trunk/dports/graphics/InsightToolkit312/Portfile
===================================================================
--- trunk/dports/graphics/InsightToolkit312/Portfile	2016-03-12 13:26:01 UTC (rev 146575)
+++ trunk/dports/graphics/InsightToolkit312/Portfile	2016-03-12 13:30:18 UTC (rev 146576)
@@ -155,9 +155,14 @@
 # variant name [requires variant] [conflicts variant] [description description]
 
 default_variants \
-    +doc \
-    +python25
+    +doc
 
+# Test the python26 variant ASAP.
+#if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26]} {
+if {![variant_isset python24] && ![variant_isset python25]} {
+        default_variants-append    +python25
+}
+
 variant doc description "provide doxygen documentation in ${itkDocPath}" {
     distfiles-append    ${itkDocFile}
     checksums-append    ${itkDocFile} \

Modified: trunk/dports/graphics/InsightToolkit314/Portfile
===================================================================
--- trunk/dports/graphics/InsightToolkit314/Portfile	2016-03-12 13:26:01 UTC (rev 146575)
+++ trunk/dports/graphics/InsightToolkit314/Portfile	2016-03-12 13:30:18 UTC (rev 146576)
@@ -159,9 +159,14 @@
 # variant name [requires variant] [conflicts variant] [description description]
 
 default_variants \
-    +doc \
-    +python25
+    +doc
 
+# Test the python26 variant ASAP.
+#if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26]} {
+if {![variant_isset python24] && ![variant_isset python25]} {
+        default_variants-append    +python25
+}
+
 variant doc description "provide doxygen documentation in ${itkDocPath}" {
     distfiles-append    ${itkDocFile}
     checksums-append    ${itkDocFile} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160312/1b721339/attachment.html>


More information about the macports-changes mailing list