# -*- 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-GridDataFormats
version             1.2.0
revision            0

categories-append   science
license             LGPL-3
supported_archs     noarch
platforms           {darwin any}
maintainers         {gmail.com:giovanni.bussi @GiovanniBussi} openmaintainer

description         GridDataFormats provides the Python package 'gridData'.
long_description    {*}${description} \
                    It contains a class ('Grid') to handle data on a regular grid --- basically NumPy n-dimensional arrays. \
                    It supports reading from and writing to some common formats (such as OpenDX).

homepage            https://github.com/MDAnalysis/GridDataFormats

distname            griddataformats-${version}

checksums           rmd160  182c4577d9e284bd3c4fe66f4e030caba9ff4cd1 \
                    sha256  6aec0c1cebf4373b5f59adc8f35a79037ab2ed970cae8f0eb1924724884fc45d \
                    size    5609433

python.versions     313 314

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

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

    test.run                yes
}
