[102237] trunk/dports/_resources/port1.0/group/python31-1.0.tcl

jmr at macports.org jmr at macports.org
Tue Jan 29 07:47:26 PST 2013


Revision: 102237
          https://trac.macports.org/changeset/102237
Author:   jmr at macports.org
Date:     2013-01-29 07:47:26 -0800 (Tue, 29 Jan 2013)
Log Message:
-----------
print deprecation warning in python31 portgroup

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

Modified: trunk/dports/_resources/port1.0/group/python31-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python31-1.0.tcl	2013-01-29 15:46:58 UTC (rev 102236)
+++ trunk/dports/_resources/port1.0/group/python31-1.0.tcl	2013-01-29 15:47:26 UTC (rev 102237)
@@ -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-archivefetch {
+    ui_warn "The $name port is using the deprecated 'python31'\
+PortGroup, which will be disabled in the near future and eventually removed.\
+The maintainer should switch to the 'python' PortGroup."
+}
+
 set python.branch	3.1
 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: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130129/86226f38/attachment-0001.html>


More information about the macports-changes mailing list