# -*- 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             2.0
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  0e72346c88c50786d4937bdb421a5ec0ddcf1a8c \
                    sha256  2684cb14d2af6249c30e3afb791ce034d8c88a28672f691ce1f9e67e33259db8 \
                    size    4126495

python.versions     311 312

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}-numpy \
                    port:py${python.version}-astropy \
                    port:py${python.version}-click \
                    port:py${python.version}-iminuit \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-regions \
                    port:py${python.version}-scipy \
                    port:py${python.version}-yaml
}
