# -*- 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-montage
version             0.9.9
revision            1

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

description         Montage python wrapper
long_description    Python-montage is a pure python module that provides a \
                    Python API to the Montage Astronomical Image Mosaic \
                    Engine, including both functions to access individual \
                    Montage commands, and high-level functions to facilitate \
                    mosaicking and re-projecting.

homepage            http://www.astropy.org/montage-wrapper/
master_sites        pypi:m/montage-wrapper/
distname            montage-wrapper-${version}

checksums           rmd160  df25df2b3610257f3f2c004abe601370d5e76434 \
                    sha256  cdf7722297c95ef0c3065de96636d467cb9db4049298f4df10957d209e64a724 \
                    size    187490

python.versions     37 38 39

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

    depends_run-append \
                    port:py${python.version}-numpy \
                    port:py${python.version}-astropy \
                    port:montage

    livecheck.type  none
} else {
    livecheck.name  montage-wrapper
}
