1 | # $Id: Portfile 36266 2008-04-25 08:27:58Z mww@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | # HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released |
---|
6 | source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl |
---|
7 | |
---|
8 | name py26-parsing |
---|
9 | version 1.4.11 |
---|
10 | categories python lang |
---|
11 | platforms darwin |
---|
12 | maintainers nomaintainer |
---|
13 | description alternative approach to creating parsers in python |
---|
14 | long_description \ |
---|
15 | The parsing module is an alternative approach to \ |
---|
16 | creating and executing simple grammars, vs. the \ |
---|
17 | traditional lex/yacc approach, or the use of regular \ |
---|
18 | expressions. The parsing module provides a library of \ |
---|
19 | classes that client code uses to construct the grammar \ |
---|
20 | directly in Python code. |
---|
21 | |
---|
22 | platforms darwin |
---|
23 | |
---|
24 | homepage http://pyparsing.sourceforge.net/ |
---|
25 | master_sites sourceforge:pyparsing |
---|
26 | distname pyparsing-${version} |
---|
27 | |
---|
28 | checksums sha1 739d4a809aad9e637df5a7658ef6e1ba43c049b9 |
---|
29 | |
---|
30 | post-destroot { |
---|
31 | set branch 2.6 |
---|
32 | xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \ |
---|
33 | README ${destroot}${prefix}/share/doc/${name} |
---|
34 | file copy ${worksrcpath}/htmldoc ${destroot}${prefix}/share/doc/${name} |
---|
35 | xinstall -m 644 -W ${worksrcpath}/examples \ |
---|
36 | AcManForm.dfm LAparser.py SimpleCalc.py SingleForm.dfm \ |
---|
37 | chemicalFormulas.py commasep.py configParse.py dfmparse.py \ |
---|
38 | dictExample.py dictExample2.py ebnf.py ebnftest.py fourFn.py \ |
---|
39 | getNTPservers.py getNTPserversNew.py greeting.py greetingInKorean.py \ |
---|
40 | httpServerLogParser.py idlParse.py makeHTMLTagExample.py mozilla.ics \ |
---|
41 | mozillaCalendarParser.py pgn.py scanExamples.py simpleSQL.py \ |
---|
42 | urlExtractor.py urlExtractorNew.py wordsToNum.py \ |
---|
43 | ${destroot}${prefix}/share/doc/${name}/examples/ |
---|
44 | } |
---|