# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        silx-kit pyFAI 0.13.0 v
name                py-pyFAI
platforms           darwin
maintainers         {ill.fr:coquelleni @coquellen} \
                    openmaintainer
license             GPL-3+

description         Azimuthal Integration library
long_description    pyFAI is an azimuthal integration library that tries to be fast (as fast as C\
                    and even more using OpenCL and GPU).\
                    It is based on histogramming of the 2theta/Q positions of each (center of)\
                    pixel weighted by the intensity of each pixel, but parallel version use a\
                    SparseMatrix-DenseVector multiplication.

python.versions     27 35 36
universal_variant   no

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

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

    checksums			    rmd160  17ad7ee303eb3a3cde5aba45af25157603594091 \
                            sha256  47a4fa753e848570e1bb0e7bfa588123cd96521b71601b22f39141abaf1c81d3

    livecheck.type          none
}