# -*- 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
PortGroup           compiler_wrapper 1.0

name                py-rapidfuzz
version             3.12.2
revision            0
categories-append   textproc
license             MIT

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         A fast string matching library for Python.
long_description    {*}${description}

homepage            https://github.com/maxbachmann/RapidFuzz

checksums           rmd160  bed708542421d1fe391424732c897e0a352c1ec4 \
                    sha256  b0ba1ccc22fff782e7152a3d3d0caca44ec4e32dc48ba01c560b8593965b5aa3 \
                    size    57907839

if {${name} ne ${subport}} {
    compiler.cxx_standard 2017
    depends_build-append \
                        port:py${python.version}-scikit-build-core \
                        port:py${python.version}-cython \
                        port:ninja
}
