# -*- 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-pymca
python.rootname     pymca5
version             5.9.4
revision            0

categories-append   science
maintainers         nomaintainer
license             GPL-2+

description         Mapping and X-Ray Fluorescence Analysis
long_description    Stand-alone application and Python tools for interactive and/or \
                    batch processing analysis of X-Ray Fluorescence Spectra. Graphical \
                    user interface (GUI) and batch processing capabilities provided.

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

checksums           sha256  e8a6f6f19e939695734bc95255b65a895caf17d8561eac74d3077561e5eb1026 \
                    rmd160  db0bae67087c9bb716dfbeb58628ac2620be5e3e \
                    size    15916825

python.versions     313

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

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

    # needed for GUI
    depends_lib-append \
                    port:py${python.version}-opengl \
                    port:py${python.version}-qtconsole \
                    port:py${python.version}-pyqt5
}
