[102184] trunk/dports/_resources/port1.0/group

jmr at macports.org jmr at macports.org
Tue Jan 29 03:20:38 PST 2013


Revision: 102184
          https://trac.macports.org/changeset/102184
Author:   jmr at macports.org
Date:     2013-01-29 03:20:38 -0800 (Tue, 29 Jan 2013)
Log Message:
-----------
Print deprecation warning in ports using the python24 and python32 portgroups. All ports in the main tree have been moved off of these already.

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

Modified: trunk/dports/_resources/port1.0/group/python24-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python24-1.0.tcl	2013-01-29 11:02:43 UTC (rev 102183)
+++ trunk/dports/_resources/port1.0/group/python24-1.0.tcl	2013-01-29 11:20:38 UTC (rev 102184)
@@ -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 'python24'\
+PortGroup, which will be disabled in the near future and eventually removed.\
+The maintainer should switch to the 'python' PortGroup."
+}
+
 set python.branch	2.4
 set python.bin		${prefix}/bin/python${python.branch}
 set python.lib		${prefix}/lib/libpython${python.branch}.dylib

Modified: trunk/dports/_resources/port1.0/group/python32-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python32-1.0.tcl	2013-01-29 11:02:43 UTC (rev 102183)
+++ trunk/dports/_resources/port1.0/group/python32-1.0.tcl	2013-01-29 11:20:38 UTC (rev 102184)
@@ -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 'python32'\
+PortGroup, which will be disabled in the near future and eventually removed.\
+The maintainer should switch to the 'python' PortGroup."
+}
+
 set python.branch	3.2
 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/a43fae7d/attachment-0001.html>


More information about the macports-changes mailing list