# -*- 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-sparse
version             0.17.0
revision            0

categories-append   math
license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer

description         Sparse Multidimensional Arrays for Python
long_description    {*}${description}. This library provides \
                    multi-dimensional sparse arrays.

homepage            https://github.com/pydata/sparse

checksums           rmd160  e2485456f75e97d3798f719f5c3c4d4171a0f1c6 \
                    sha256  6b1ad51a810c5be40b6f95e28513ec810fe1c785923bd83b2e4839a751df4bf7 \
                    size    642387

python.versions     313

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_lib-append \
                    port:py${python.version}-numba \
                    port:py${python.version}-numpy \
                    port:py${python.version}-scipy

    depends_test-append \
                    port:py${python.version}-coverage \
                    port:py${python.version}-dask

    test.run        yes
}
