[114350] trunk/dports/python/py-pyxg/Portfile

snc at macports.org snc at macports.org
Thu Dec 5 08:04:33 PST 2013


Revision: 114350
          https://trac.macports.org/changeset/114350
Author:   snc at macports.org
Date:     2013-12-05 08:04:33 -0800 (Thu, 05 Dec 2013)
Log Message:
-----------
py-pyxg: incompatible on OS X >= 10.8

Modified Paths:
--------------
    trunk/dports/python/py-pyxg/Portfile

Modified: trunk/dports/python/py-pyxg/Portfile
===================================================================
--- trunk/dports/python/py-pyxg/Portfile	2013-12-05 15:46:43 UTC (rev 114349)
+++ trunk/dports/python/py-pyxg/Portfile	2013-12-05 16:04:33 UTC (rev 114350)
@@ -24,6 +24,16 @@
 
 supported_archs     noarch
 
+
+if {${os.major} > 11} {
+    archive_sites
+    distfiles
+    pre-configure {
+        ui_error "${subport} requires Xgrid which is discontinued since OS X 10.8."
+        return -code error "Incompatible OS X version"
+    }
+}
+
 if {${name} ne ${subport}} {
     if {${python.version} == 25} {
         depends_lib-append  port:py${python.version}-bdist_mpkg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131205/b1d0b36f/attachment.html>


More information about the macports-changes mailing list