# -*- 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-silx
version             2.2.2
revision            0

categories-append   science
license             MIT
maintainers         {nist.gov:joe.fowler @joefowler} openmaintainer

description         Python packages to support data analysis at synchrotron radiation facilities.
long_description    {*}${description} silx aims to provide reading/writing tools for different file \
                    formats, data reduction routines and a set of Qt widgets to browse and visualise data.

homepage            https://www.silx.org/doc/silx/latest/

checksums           rmd160  0da1f4feb09c1167484ba4ce7b99c2d1b19da8bc \
                    sha256  5d9ba367b5715cc4cb9011388f3d71200d7beb7676c910952fd1350a342c571f \
                    size    19102274

python.versions     310 311 312 313

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

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

    depends_run-append \
                    port:py${python.version}-h5py \
                    port:py${python.version}-fabio \
                    port:py${python.version}-packaging
}
