# -*- 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-scikit-umfpack
version             0.4.2
revision            0

categories-append   math
license             BSD
maintainers         {gmail.com:jjstickel @jjstickel} openmaintainer

description         scikit-umfpack provides wrapper of UMFPACK sparse direct solver to SciPy.
long_description    {*}${description}
homepage            https://pypi.org/project/scikit-umfpack/

distname            scikit_umfpack-${version}

checksums           rmd160  d69ebfd159a3428fcb30a7e3c9330434ceba25d2 \
                    sha256  7cd652e6559804a52379f4ff367cfad54d6f7a6fc65a5e0bd26d26a1282c3f64 \
                    size    33827

python.versions     310 311 312 313 314
python.pep517_backend meson

if {${name} ne ${subport}} {
    depends_build-append \
                    port:swig-python

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