# -*- 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-pynndescent
version             0.6.0
revision            0

categories-append   math
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         Nearest Neighbor Descent
long_description    {*}${description}

homepage            https://github.com/lmcinnes/pynndescent

checksums           rmd160  c3b61a9c88b17af3c65d717a6ad104167c042419 \
                    sha256  7ffde0fb5b400741e055a9f7d377e3702e02250616834231f6c209e39aac24f5 \
                    size    2992987

python.versions     313

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-joblib \
                    port:py${python.version}-llvmlite \
                    port:py${python.version}-numba \
                    port:py${python.version}-scikit-learn \
                    port:py${python.version}-scipy

    depends_test-append \
                    port:py${python.version}-coverage \
                    port:py${python.version}-cffi \
                    port:py${python.version}-pandas \
                    port:py${python.version}-psutil

    test.run        yes
}
