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

python.versions     37 38 39 310 311
python.pep517       yes

maintainers         {stromnov @stromnov} openmaintainer

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

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

checksums           rmd160  8c4c9b5045752ea72115b801f045b9c304548eb7 \
                    sha256  1b1b2eab728efc239c8aab97b4821f8e10dcd5a1b066365d0e38023e3b2289e8 \
                    size    1280133

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