[126668] trunk/dports/_resources/port1.0/group/python27-1.0.tcl

jmr at macports.org jmr at macports.org
Mon Oct 13 05:26:09 PDT 2014


Revision: 126668
          https://trac.macports.org/changeset/126668
Author:   jmr at macports.org
Date:     2014-10-13 05:26:09 -0700 (Mon, 13 Oct 2014)
Log Message:
-----------
print deprecation warning in python27 portgroup

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

Modified: trunk/dports/_resources/port1.0/group/python27-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python27-1.0.tcl	2014-10-13 12:22:53 UTC (rev 126667)
+++ trunk/dports/_resources/port1.0/group/python27-1.0.tcl	2014-10-13 12:26:09 UTC (rev 126668)
@@ -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 'python27'\
+PortGroup, which will be disabled in the near future and eventually removed.\
+The maintainer should switch to the 'python' PortGroup."
+}
+
 set python.branch	2.7
 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/20141013/079f6097/attachment.html>


More information about the macports-changes mailing list