source: trunk/dports/python/py-pycparser/Portfile

Last change on this file was 154465, checked in by stromnov@…, 9 months ago

py-pycparser: update to version 2.17

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 154465 2016-10-30 07:50:24Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pycparser
8version             2.17
9revision            0
10categories-append   devel
11platforms           darwin
12license             BSD
13supported_archs     noarch
14
15python.versions     26 27 33 34 35
16
17maintainers         stromnov openmaintainer
18
19description         pycparser is a complete parser of the C language.
20
21long_description    pycparser is a complete parser of the C language, \
22                    written in pure Python using the PLY parsing library. \
23                    It parses C code into an AST and can serve \
24                    as a front-end for C compilers or analysis tools.
25
26homepage            https://bitbucket.org/eliben/pycparser
27master_sites        pypi:p/pycparser/
28
29distname            pycparser-${version}
30
31checksums           rmd160  12f533fd134bf2d6cbf8be0e3fa718997ca759d3 \
32                    sha256  0aac31e917c24cb3357f5a4d5566f2cc91a19ca41862f6c3c22dc60a629673b6
33
34if {${name} ne ${subport}} {
35    livecheck.type      none
36} else {
37    livecheck.type      regex
38    livecheck.url       https://pypi.python.org/pypi/pycparser/json
39    livecheck.regex     {pycparser-(\d+(?:\.\d+)*)\.[tz]}
40}
Note: See TracBrowser for help on using the repository browser.