source: trunk/dports/python/py-parsing/Portfile @ 92568

Last change on this file since 92568 was 92568, checked in by snc@…, 5 years ago

py-serial: unify, drop py24 version, #34234

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 92568 2012-05-01 15:57:06Z snc@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-parsing
8version             1.5.6
9categories-append   lang
10platforms           darwin
11maintainers         snc openmaintainer
12license             MIT
13
14description         alternative approach to creating parsers in python
15
16long_description    The parsing module is an alternative approach to creating \
17                    and executing simple grammars, vs. the traditional \
18                    lex/yacc approach, or the use of regular expressions. The \
19                    parsing module provides a library of classes that client \
20                    code uses to construct the grammar directly in Python code.
21
22homepage            http://pyparsing.wikispaces.com/
23master_sites        sourceforge:project/pyparsing/pyparsing/pyparsing-${version}
24distname            pyparsing-${version}
25
26checksums           rmd160  a70a05a8ba29029ae0ed5dd1bbcf391ff9536ef9 \
27                    sha256  5c84aa4500e82d5aa2c0842d5628c5da985e68ac1fb33554e0e5547eb3c85a75
28
29python.versions     24 25 26 27 31 32
30
31if {$subport != $name} {
32    post-destroot {
33        set docdir ${destroot}${prefix}/share/doc/${subport}
34        xinstall -d ${docdir}
35        xinstall -m 644 -W ${worksrcpath} CHANGES HowToUsePyparsing.html \
36            LICENSE README ${docdir}
37        delete ${worksrcpath}/docs/examples ${worksrcpath}/docs/htmldoc
38        eval xinstall -m 644 [glob ${worksrcpath}/docs/*] ${docdir}
39        file copy ${worksrcpath}/htmldoc ${docdir}
40        eval xinstall -m 644 [glob ${worksrcpath}/examples/*] ${docdir}/examples/
41    }
42    livecheck.type  none
43} else {
44    livecheck.regex pyparsing-(\\d+(\\.\\d+)+)
45}
Note: See TracBrowser for help on using the repository browser.