# -*- 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-gammapy
version             0.18.2
revision            0

categories-append   science
license             BSD
maintainers         nomaintainer

description         A Python package for gamma-ray astronomy
long_description    {*}${description}

homepage            https://gammapy.org/

checksums           rmd160  a87b7b9b0af6223b6ae9f33cc7ebb502ca7132a2 \
                    sha256  ae496b792e18611184626c728cf2e7fd713b6b53d7294c384ab39f40bac944e1 \
                    size    2077004

python.versions     39

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-cython \
                    port:py${python.version}-setuptools_scm
    depends_lib-append \
                    port:py${python.version}-astropy \
                    port:py${python.version}-click \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pyobjc \
                    port:py${python.version}-regions \
                    port:py${python.version}-scipy \
                    port:py${python.version}-yaml
}
