[89742] trunk/dports/python/py-wxpython/Portfile

jwa at macports.org jwa at macports.org
Wed Feb 8 10:12:10 PST 2012


Revision: 89742
          http://trac.macports.org/changeset/89742
Author:   jwa at macports.org
Date:     2012-02-08 10:12:07 -0800 (Wed, 08 Feb 2012)
Log Message:
-----------
improve livecheck

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

Modified: trunk/dports/python/py-wxpython/Portfile
===================================================================
--- trunk/dports/python/py-wxpython/Portfile	2012-02-08 17:29:07 UTC (rev 89741)
+++ trunk/dports/python/py-wxpython/Portfile	2012-02-08 18:12:07 UTC (rev 89742)
@@ -55,6 +55,10 @@
     }
 }
 
-livecheck.type	regex
-livecheck.url	${homepage}
-livecheck.regex	wxPython (2\\.\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)
+if {$subport == $name} {
+    livecheck.type	regex
+    livecheck.url	${homepage}
+    livecheck.regex	wxPython(?: | \\(classic\\) )(2\\.\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)
+} else {
+    livecheck.type	none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120208/c3225e53/attachment.html>


More information about the macports-changes mailing list