[104202] trunk/dports/python/py-parsing/Portfile
snc at macports.org
snc at macports.org
Wed Mar 20 08:12:40 PDT 2013
Revision: 104202
https://trac.macports.org/changeset/104202
Author: snc at macports.org
Date: 2013-03-20 08:12:40 -0700 (Wed, 20 Mar 2013)
Log Message:
-----------
py-parsing: remove python2.4 version, fix livecheck
Modified Paths:
--------------
trunk/dports/python/py-parsing/Portfile
Modified: trunk/dports/python/py-parsing/Portfile
===================================================================
--- trunk/dports/python/py-parsing/Portfile 2013-03-20 15:08:06 UTC (rev 104201)
+++ trunk/dports/python/py-parsing/Portfile 2013-03-20 15:12:40 UTC (rev 104202)
@@ -32,7 +32,7 @@
checksums rmd160 1a298790ce3569e74a1223de495cd5a5fd87e7b4 \
sha256 2b3a013582cbff858e71ff23129e01acc5e99f511578d106ffb1e74bde15e893
-python.versions 24 25 26 27 31 32 33
+python.versions 25 26 27 31 32 33
if {$subport != $name} {
if {[string range [option subport] 2 3] > 30} {
@@ -49,7 +49,14 @@
eval xinstall -m 644 [glob ${worksrcpath}/examples/*] ${docdir}/examples/
}
}
- livecheck.type none
+
+ if {[string range [option subport] 2 3] == 33} {
+ livecheck.regex pyparsing-(\\d+(\\.\\d+)+)
+ } elseif {[string range [option subport] 2 3] == 27} {
+ livecheck.regex pyparsing-(1(\\.\\d+)+)
+ } else {
+ livecheck.type none
+ }
} else {
- livecheck.regex pyparsing-(\\d+(\\.\\d+)+)
+ #livecheck.type none
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130320/d693b55a/attachment.html>
More information about the macports-changes
mailing list