# -*- 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-geomagpy
version             1.1.8
revision            0

categories-append   science
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         Geomagnetic analysis tools.
long_description    {*}${description}

homepage            https://github.com/geomagpy/magpy

checksums           rmd160  114656b160e66296a3c86d8ff0cc0c8aa13b2d27 \
                    sha256  c1d7c4e6bf83b8bdd37333e97a3dc34ef6df06f335fcbf8ffaacf769a3a1b9f2 \
                    size    25487570

python.versions     312

if {${name} ne ${subport}} {
    depends_lib-append \
            port:py${python.version}-matplotlib \
            port:py${python.version}-numpy \
            port:py${python.version}-scipy \
            port:py${python.version}-paho-mqtt \
            port:py${python.version}-pymysql \
            port:py${python.version}-cdflib \
            port:py${python.version}-pexpect \
            port:py${python.version}-pypubsub

    variant gui description "Build the GUI" {
        depends_run-append \
            port:py${python.version}-wxpython-4.0
    }
}
