# -*- 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.14.5
revision            0
categories-append   textproc
license             MIT

python.versions     310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

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

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

checksums           rmd160  b1c68c3a0fa044be8d92cdc30f50595baa2e3788 \
                    sha256  ba10ac57884ce82112f7ed910b67e7fb6072d8ef2c06e30dc63c0f604a112e0e \
                    size    57901753

python.pep517_backend scikit

if {${name} ne ${subport}} {
    compiler.cxx_standard 2017

    depends_build-append \
                    port:py${python.version}-cython

    test.run        yes
}
