# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-grako version 3.16.1 revision 0 categories-append devel textproc platforms darwin license BSD python.versions 27 35 maintainers stromnov openmaintainer description Tool that takes grammars in a variation of EBNF as input, and outputs memoizing PEG parsers in Python. long_description ${description} homepage http://bitbucket.org/apalala/grako master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} distname ${python.rootname}-${version} checksums rmd160 e22df95b96e14fe171eb924c8258047f503fda60 \ sha256 0a3d0a7791c72bf48745992e2baa113f0034e72e07be07a448f044199bb18363 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools \ port:py${python.version}-cython # Fix permissions post-extract { fs-traverse item ${worksrcpath} { if {[file isdirectory ${item}]} { file attributes ${item} -permissions a+rx } elseif {[file isfile ${item}]} { file attributes ${item} -permissions a+r } } } livecheck.type none } else { livecheck.type pypi }