# -*- 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-DAWG
python.rootname     DAWG2
version             0.13.3
revision            0

categories-append   devel
license             MIT
maintainers         {stromnov @stromnov} openmaintainer

description         Fast and memory efficient DAWG for Python.
long_description    {*}${description}

homepage            https://github.com/pytries/DAWG/

distname            dawg2-${version}

python.versions     313 314

checksums           rmd160  3a945b21a31c2529c3889bb5c78477207417514d \
                    sha256  7d4209bf42d36b62f3af968ff25734e1253892732bfa8323a61a3428041f7902 \
                    size    233437

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

    test.run        yes
}
