[45968] trunk/dports/python

blb at macports.org blb at macports.org
Sun Jan 25 22:37:34 PST 2009


Revision: 45968
          http://trac.macports.org/changeset/45968
Author:   blb at macports.org
Date:     2009-01-25 22:37:33 -0800 (Sun, 25 Jan 2009)
Log Message:
-----------
python/py*-parsing - install all examples, make livecheck work, and remove
an errant space; ticket #18194

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

Modified: trunk/dports/python/py-parsing/Portfile
===================================================================
--- trunk/dports/python/py-parsing/Portfile	2009-01-26 05:52:29 UTC (rev 45967)
+++ trunk/dports/python/py-parsing/Portfile	2009-01-26 06:37:33 UTC (rev 45968)
@@ -4,6 +4,7 @@
 PortGroup           python24 1.0
 name                py-parsing
 version             1.5.1
+revision            1
 categories          python lang
 platforms           darwin
 maintainers         nomaintainer
@@ -23,16 +24,13 @@
 
 post-destroot   {
    xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
-      README ${destroot}${prefix}/share/doc/${name}
+      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}
-   xinstall -m 644 -W ${worksrcpath}/examples \
-      AcManForm.dfm LAparser.py SimpleCalc.py SingleForm.dfm \
-      chemicalFormulas.py commasep.py configParse.py dfmparse.py \
-      dictExample.py dictExample2.py ebnf.py ebnftest.py fourFn.py \
-      getNTPservers.py getNTPserversNew.py greeting.py greetingInKorean.py \
-      httpServerLogParser.py idlParse.py makeHTMLTagExample.py mozilla.ics \
-      mozillaCalendarParser.py pgn.py scanExamples.py simpleSQL.py \
-      urlExtractor.py urlExtractorNew.py wordsToNum.py \
-      ${destroot}${prefix}/share/doc/${name}/examples/
+   eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
+      ${destroot}${prefix}/share/doc/${name}/examples
 }
 
+livecheck.regex     <title>pyparsing pyparsing-(.*) released.*</title>
+

Modified: trunk/dports/python/py25-parsing/Portfile
===================================================================
--- trunk/dports/python/py25-parsing/Portfile	2009-01-26 05:52:29 UTC (rev 45967)
+++ trunk/dports/python/py25-parsing/Portfile	2009-01-26 06:37:33 UTC (rev 45968)
@@ -4,12 +4,13 @@
 PortGroup           python25 1.0
 name                py25-parsing
 version             1.5.1
+revision            1
 categories          python lang
 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 \
+   The parsing module is an alternative approach to creating and executing \
    simple grammars, vs. the traditional lex/yacc approach, or the use of \
    regular expressions. The parsing module provides a library of classes \
    that client code uses to construct the grammar directly in Python code.
@@ -23,16 +24,13 @@
 
 post-destroot {
    xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
-      README ${destroot}${prefix}/share/doc/${name}
+      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}
-   xinstall -m 644 -W ${worksrcpath}/examples \
-      AcManForm.dfm LAparser.py SimpleCalc.py SingleForm.dfm \
-      chemicalFormulas.py commasep.py configParse.py dfmparse.py \
-      dictExample.py dictExample2.py ebnf.py ebnftest.py fourFn.py \
-      getNTPservers.py getNTPserversNew.py greeting.py greetingInKorean.py \
-      httpServerLogParser.py idlParse.py makeHTMLTagExample.py mozilla.ics \
-      mozillaCalendarParser.py pgn.py scanExamples.py simpleSQL.py \
-      urlExtractor.py urlExtractorNew.py wordsToNum.py \
-      ${destroot}${prefix}/share/doc/${name}/examples/
+   eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
+      ${destroot}${prefix}/share/doc/${name}/examples
 }
 
+livecheck.regex     <title>pyparsing pyparsing-(.*) released.*</title>
+

Modified: trunk/dports/python/py26-parsing/Portfile
===================================================================
--- trunk/dports/python/py26-parsing/Portfile	2009-01-26 05:52:29 UTC (rev 45967)
+++ trunk/dports/python/py26-parsing/Portfile	2009-01-26 06:37:33 UTC (rev 45968)
@@ -4,12 +4,13 @@
 PortGroup           python26 1.0
 name                py26-parsing
 version             1.5.1
+revision            1
 categories          python lang
 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 \
+   The parsing module is an alternative approach to creating and executing \
    simple grammars, vs. the traditional lex/yacc approach, or the use of \
    regular expressions. The parsing module provides a library of classes \
    that client code uses to construct the grammar directly in Python code.
@@ -23,16 +24,13 @@
 
 post-destroot {
    xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
-      README ${destroot}${prefix}/share/doc/${name}
+      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}
-   xinstall -m 644 -W ${worksrcpath}/examples \
-      AcManForm.dfm LAparser.py SimpleCalc.py SingleForm.dfm \
-      chemicalFormulas.py commasep.py configParse.py dfmparse.py \
-      dictExample.py dictExample2.py ebnf.py ebnftest.py fourFn.py \
-      getNTPservers.py getNTPserversNew.py greeting.py greetingInKorean.py \
-      httpServerLogParser.py idlParse.py makeHTMLTagExample.py mozilla.ics \
-      mozillaCalendarParser.py pgn.py scanExamples.py simpleSQL.py \
-      urlExtractor.py urlExtractorNew.py wordsToNum.py \
-      ${destroot}${prefix}/share/doc/${name}/examples/
+   eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
+      ${destroot}${prefix}/share/doc/${name}/examples
 }
 
+livecheck.regex     <title>pyparsing pyparsing-(.*) released.*</title>
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090125/1aed9721/attachment.html>


More information about the macports-changes mailing list