[99552] trunk/dports/python

ryandesign at macports.org ryandesign at macports.org
Fri Nov 9 14:03:58 PST 2012


Revision: 99552
          http://trac.macports.org//changeset/99552
Author:   ryandesign at macports.org
Date:     2012-11-09 14:03:57 -0800 (Fri, 09 Nov 2012)
Log Message:
-----------
py26-pyobjc, py27-pyobjc: require Leopard or newer (#26120)

Modified Paths:
--------------
    trunk/dports/python/py26-pyobjc/Portfile
    trunk/dports/python/py27-pyobjc/Portfile

Modified: trunk/dports/python/py26-pyobjc/Portfile
===================================================================
--- trunk/dports/python/py26-pyobjc/Portfile	2012-11-09 21:55:28 UTC (rev 99551)
+++ trunk/dports/python/py26-pyobjc/Portfile	2012-11-09 22:03:57 UTC (rev 99552)
@@ -46,6 +46,13 @@
         ${destroot}${prefix}/share/doc/${name}/examples
 }
 
+if {${os.platform} == "darwin" && ${os.major} <= 8} {
+    pre-fetch {
+        ui_error "${name} ${version} requires OS X 10.5 or greater."
+        return -code error "incompatible OS X version"
+    }
+}
+
 livecheck.type  regex
 livecheck.url   http://pypi.python.org/pypi/pyobjc-core/
 livecheck.regex {pyobjc-core ([0-9.]+)}

Modified: trunk/dports/python/py27-pyobjc/Portfile
===================================================================
--- trunk/dports/python/py27-pyobjc/Portfile	2012-11-09 21:55:28 UTC (rev 99551)
+++ trunk/dports/python/py27-pyobjc/Portfile	2012-11-09 22:03:57 UTC (rev 99552)
@@ -46,6 +46,13 @@
         ${destroot}${prefix}/share/doc/${name}/examples
 }
 
+if {${os.platform} == "darwin" && ${os.major} <= 8} {
+    pre-fetch {
+        ui_error "${name} ${version} requires OS X 10.5 or greater."
+        return -code error "incompatible OS X version"
+    }
+}
+
 livecheck.type  regex
 livecheck.url   http://pypi.python.org/pypi/pyobjc-core/
 livecheck.regex {pyobjc-core ([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121109/a964f7d0/attachment-0001.html>


More information about the macports-changes mailing list