# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-spark_parser
version             1.9.0
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         {khindenburg @kurthindenburg} openmaintainer

description         An Earley-Algorithm Context-free grammar Parser Toolkit
long_description \
    SPARK stands for Scanning, Parsing, and Rewriting Kit. It uses Jay \
    Earley's algorithm for parsing context free grammars, and comes with \
    some generic Abstract Syntax Tree routines. There is also a prototype \
    scanner which does its job by combining Python regular expressions.

homepage            https://pypi.python.org/pypi/${python.rootname}/

checksums           rmd160  b2e78bcb450dc2308ffa7f469d6e7e3d23b7bcfa \
                    sha256  dc66d48c4265c4133db41a9c5fe9c1c502b3b20167df158a0f234cd31712cf64 \
                    size    80108

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-click

    test.run        yes
}
