[89630] trunk/dports/python

macsforever2000 at macports.org macsforever2000 at macports.org
Sat Feb 4 15:08:24 PST 2012


Revision: 89630
          http://trac.macports.org/changeset/89630
Author:   macsforever2000 at macports.org
Date:     2012-02-04 15:08:23 -0800 (Sat, 04 Feb 2012)
Log Message:
-----------
py-parsing: unify

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

Removed Paths:
-------------
    trunk/dports/python/py25-parsing/
    trunk/dports/python/py26-parsing/
    trunk/dports/python/py27-parsing/

Modified: trunk/dports/python/py-parsing/Portfile
===================================================================
--- trunk/dports/python/py-parsing/Portfile	2012-02-04 22:45:26 UTC (rev 89629)
+++ trunk/dports/python/py-parsing/Portfile	2012-02-04 23:08:23 UTC (rev 89630)
@@ -1,15 +1,15 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
-PortGroup           python24 1.0
+PortGroup           python 1.0
 
 name                py-parsing
-version             1.5.1
-revision            1
-categories          python lang
+version             1.5.6
+categories-append   lang
+platforms           darwin
+maintainers         snc openmaintainer
 license             MIT
-platforms           darwin
-maintainers         nomaintainer
 description         alternative approach to creating parsers in python
 long_description \
    The parsing module is an alternative approach to creating and executing \
@@ -20,18 +20,24 @@
 homepage            http://pyparsing.wikispaces.com/
 master_sites        sourceforge:pyparsing
 distname            pyparsing-${version}
-checksums           md5     d0777821fc4c5f2474cda1081229d76b \
-                    sha1    5d3218cba6e00b8ca7cf842f3c8e5db2ce6f5f85 \
-                    rmd160  694d2ad8aa0b6efe47bb96e2eb160fb83fd83b1e
 
-post-destroot   {
-   xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
-      LICENSE README ${destroot}${prefix}/share/doc/${name}
-   eval xinstall -m 644 [glob ${worksrcpath}/docs/*] \
-      ${destroot}${prefix}/share/doc/${name}
-   file copy ${worksrcpath}/htmldoc ${destroot}${prefix}/share/doc/${name}
-   eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
-      ${destroot}${prefix}/share/doc/${name}/examples
+checksums           rmd160  a70a05a8ba29029ae0ed5dd1bbcf391ff9536ef9 \
+                    sha256  5c84aa4500e82d5aa2c0842d5628c5da985e68ac1fb33554e0e5547eb3c85a75
+
+python.versions        24 25 26 27
+
+if {$subport != $name} {
+    post-destroot {
+       xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
+          LICENSE README ${destroot}${prefix}/share/doc/${name}
+        delete ${worksrcpath}/docs/examples \
+               ${worksrcpath}/docs/htmldoc
+       eval xinstall -m 644 [glob ${worksrcpath}/docs/*] \
+          ${destroot}${prefix}/share/doc/${name}
+       file copy ${worksrcpath}/htmldoc ${destroot}${prefix}/share/doc/${name}
+       eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
+          ${destroot}${prefix}/share/doc/${name}/examples/
+    }
+} else {
+    livecheck.regex     pyparsing-(\\d+(\\.\\d+)+)
 }
-
-livecheck.regex     <title>pyparsing pyparsing-(.*) released.*</title>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120204/c99dae3a/attachment.html>


More information about the macports-changes mailing list