# -*- 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-textx
version             4.3.0
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Meta-language for DSL implementation inspired by Xtext
long_description    {*}${description}

homepage            https://github.com/textX/textX

checksums           rmd160  94733bf74abe97adaa401674018d42f36cd34d65 \
                    sha256  0facac8029ad124ef21e5838dd8eb67f10129efcee96ea3548f5fd62428a9880 \
                    size    2224357

python.versions     310 311 312 313 314

python.pep517_backend \
                    flit

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