# -*- 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-preshed
# Don't upgrade past py-spaCy's highest supported version.
# spaCy 3.8.x requires preshed<3.1.0
version             3.0.9
epoch               1
revision            0

checksums           rmd160  9bba63f2433eb25b03ae8a5662152f5d421452a1 \
                    sha256  721863c5244ffcd2651ad0928951a2c7c77b102f4e11a251ad85d37ee7621660 \
                    size    14478

license             MIT

maintainers         {jonesc @cjones051073} openmaintainer

description         Cython hash tables that assume keys are pre-hashed
long_description    {*}${description}

homepage            https://github.com/explosion/preshed

python.versions     310 311 312 313 314

compiler.cxx_standard 2014

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