# -*- 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-antlr4-python3-runtime
version             4.7.1
categories-append   lang
platforms           darwin
license             BSD
maintainers         nomaintainer

description         ANTLR4 runtime for Python 3
long_description    ${description}

homepage            http://www.antlr.org
master_sites        pypi:a/antlr4-python3-runtime
distname            antlr4-python3-runtime-${version}

checksums           rmd160  29916b2cd3078aaf0f78c9a4f21c4f7e93784b14 \
                    sha256  1b26b72c4492cef310542da10bf6b2ab4aa1775618fc6003f75b55ae9eaa3fd3 \
                    size    111381

python.versions     36

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools

    livecheck.type      none
} else {
    livecheck.type      pypi
}