# -*- 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-rply
version             0.7.8
license             BSD
platforms           darwin
maintainers         {toby @tobypeterson} openmaintainer
description         pure Python parser generator
long_description    A pure Python parser generator, that also works with RPython. \
                    It is a more-or-less direct port of David Beazley's awesome PLY, \
                    with a new public API, and RPython support.

homepage            https://github.com/alex/rply

checksums           rmd160  59ce1aaf1a35add3f52951cbbd4e8642572dfe50 \
                    sha256  2a808ac25a4580a9991fc304d64434e299a8fc75760574492f242cbb5bb301c9 \
                    size    15850

python.versions     38 39 310

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

    depends_lib-append      port:py${python.version}-appdirs

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