Ticket #18194: py26-parsing.patch

File py26-parsing.patch, 1.8 KB (added by thatha@…, 16 years ago)
  • Portfile

     
    99maintainers         nomaintainer
    1010description         alternative approach to creating parsers in python
    1111long_description \
    12    The parsing module is an alternative approach to  creating and executing \
     12   The parsing module is an alternative approach to creating and executing \
    1313   simple grammars, vs. the traditional lex/yacc approach, or the use of \
    1414   regular expressions. The parsing module provides a library of classes \
    1515   that client code uses to construct the grammar directly in Python code.
     
    2121                    sha1    5d3218cba6e00b8ca7cf842f3c8e5db2ce6f5f85 \
    2222                    rmd160  694d2ad8aa0b6efe47bb96e2eb160fb83fd83b1e
    2323
     24livecheck.regex     <title>pyparsing pyparsing-(.*) released.*</title>
     25
    2426post-destroot {
    2527   xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
    2628      README ${destroot}${prefix}/share/doc/${name}
    2729   file copy ${worksrcpath}/htmldoc ${destroot}${prefix}/share/doc/${name}
    28    xinstall -m 644 -W ${worksrcpath}/examples \
    29       AcManForm.dfm LAparser.py SimpleCalc.py SingleForm.dfm \
    30       chemicalFormulas.py commasep.py configParse.py dfmparse.py \
    31       dictExample.py dictExample2.py ebnf.py ebnftest.py fourFn.py \
    32       getNTPservers.py getNTPserversNew.py greeting.py greetingInKorean.py \
    33       httpServerLogParser.py idlParse.py makeHTMLTagExample.py mozilla.ics \
    34       mozillaCalendarParser.py pgn.py scanExamples.py simpleSQL.py \
    35       urlExtractor.py urlExtractorNew.py wordsToNum.py \
    36       ${destroot}${prefix}/share/doc/${name}/examples/
     30   eval xinstall -m 644 [glob ${worksrcpath}/examples/*] ${destroot}${prefix}/share/doc/${name}/examples
    3731}
    3832