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

jmr at macports.org jmr at macports.org
Fri Jan 13 17:12:04 PST 2012


Revision: 88869
          http://trac.macports.org/changeset/88869
Author:   jmr at macports.org
Date:     2012-01-13 17:12:01 -0800 (Fri, 13 Jan 2012)
Log Message:
-----------
python portgroup: unset python.version entirely when it is not well-defined

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	2012-01-14 00:55:49 UTC (rev 88868)
+++ trunk/dports/_resources/port1.0/group/python-1.0.tcl	2012-01-14 01:12:01 UTC (rev 88869)
@@ -88,6 +88,8 @@
             if {${python.default_version} == "24"} {
                 replaced_by py24[string trimleft $name py]
             }
+            global python.version
+            unset python.version
             depends_lib port:py${python.default_version}[string trimleft $name py]
             build {}
             destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120113/f062cd2c/attachment.html>


More information about the macports-changes mailing list