[125960] trunk/dports/_resources/port1.0/group/python26-1.0.tcl

jmr at macports.org jmr at macports.org
Tue Sep 30 04:42:19 PDT 2014


Revision: 125960
          https://trac.macports.org/changeset/125960
Author:   jmr at macports.org
Date:     2014-09-30 04:42:19 -0700 (Tue, 30 Sep 2014)
Log Message:
-----------
print deprecation warning in python26 portgroup

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

Modified: trunk/dports/_resources/port1.0/group/python26-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python26-1.0.tcl	2014-09-30 11:36:38 UTC (rev 125959)
+++ trunk/dports/_resources/port1.0/group/python26-1.0.tcl	2014-09-30 11:42:19 UTC (rev 125960)
@@ -36,6 +36,12 @@
 # Please switch existing ports using this to 'PortGroup python 1.0' (which
 # supports multiple python versions) at your earliest convenience.
 
+pre-fetch {
+    ui_warn "The $name port is using the deprecated 'python26'\
+PortGroup, which will be disabled in the near future and eventually removed.\
+The maintainer should switch to the 'python' PortGroup."
+}
+
 set python.branch	2.6
 set python.prefix	${frameworks_dir}/Python.framework/Versions/${python.branch}
 set python.bin		${python.prefix}/bin/python${python.branch}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140930/68c06ba3/attachment.html>


More information about the macports-changes mailing list