# -*- 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-marisa-trie
version             1.1.1
revision            0
categories-append   devel
license             MIT

python.versions     310 311 312

maintainers         {stromnov @stromnov} openmaintainer

description         Static memory-efficient & fast Trie structures for Python (based on marisa-trie C++ library)
long_description    ${description}

homepage            https://github.com/pytries/marisa-trie

distname            marisa_trie-${version}

checksums           rmd160  9cc6967887819e78279b0ae8e1d8e36547e7a33f \
                    sha256  363f1be2314b1f9e26b5a3de45b59fd9a0a3289bf157be61bbed770643a46f1a \
                    size    410747

if {${name} ne ${subport}} {
    depends_test-append \
                    port:py${python.version}-hypothesis \
                    port:py${python.version}-readme_renderer

    test.run        yes
}
