[127076] trunk/dports/lang/python25/Portfile

larryv at macports.org larryv at macports.org
Mon Oct 20 10:07:02 PDT 2014


Revision: 127076
          https://trac.macports.org/changeset/127076
Author:   larryv at macports.org
Date:     2014-10-20 10:07:02 -0700 (Mon, 20 Oct 2014)
Log Message:
-----------
python25: Disallow on Yosemite

It doesn't build on Yosemite + Xcode 6.1, and it's going to be retired
soon anyway, so let's not bother fixing it.

Modified Paths:
--------------
    trunk/dports/lang/python25/Portfile

Modified: trunk/dports/lang/python25/Portfile
===================================================================
--- trunk/dports/lang/python25/Portfile	2014-10-20 17:00:16 UTC (rev 127075)
+++ trunk/dports/lang/python25/Portfile	2014-10-20 17:07:02 UTC (rev 127076)
@@ -209,6 +209,16 @@
    }
 }
 
+if {${os.platform} eq "darwin" && ${os.major} >= 14} {
+    depends_lib
+    depends_run
+    archive_sites
+    pre-fetch {
+        ui_error "${name} is not supported on Yosemite or later."
+        return -code error {unsupported platform}
+    }
+}
+
 livecheck.type          regex
 livecheck.url           ${homepage}download/releases/
 livecheck.regex         Python (${branch}.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141020/e012049b/attachment.html>


More information about the macports-changes mailing list