[126798] trunk/dports/_resources/port1.0/group/python-1.0.tcl

jmr at macports.org jmr at macports.org
Wed Oct 15 05:05:44 PDT 2014


Revision: 126798
          https://trac.macports.org/changeset/126798
Author:   jmr at macports.org
Date:     2014-10-15 05:05:43 -0700 (Wed, 15 Oct 2014)
Log Message:
-----------
python portgroup: default to empty link_binaries_suffix for apps

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/python-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/python-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python-1.0.tcl	2014-10-15 04:17:52 UTC (rev 126797)
+++ trunk/dports/_resources/port1.0/group/python-1.0.tcl	2014-10-15 12:05:43 UTC (rev 126798)
@@ -269,6 +269,13 @@
                 return no
             }
         }
+        binary_suffix {
+            if {[string match py-* [option name]]} {
+                return -${python.branch}
+            } else {
+                return ""
+            }
+        }
         default {
             error "unknown option $var"
         }
@@ -282,8 +289,8 @@
 
 options python.link_binaries python.link_binaries_suffix
 default python.link_binaries {[python_get_defaults link_binaries]}
-default python.link_binaries_suffix {-${python.branch}}
+default python.link_binaries_suffix {[python_get_defaults binary_suffix]}
 
 options python.move_binaries python.move_binaries_suffix
 default python.move_binaries {[python_get_defaults move_binaries]}
-default python.move_binaries_suffix {-${python.branch}}
+default python.move_binaries_suffix {[python_get_defaults binary_suffix]}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141015/1dfb392c/attachment-0001.html>


More information about the macports-changes mailing list