# -*- 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-reproject
version             0.7.1
categories-append   science
platforms           darwin
license             BSD
maintainers         {aronnax @lpsinger} openmaintainer
description         Astropy affiliated package for image reprojection
long_description    ${description}
homepage            https://reproject.readthedocs.io/

checksums           rmd160  957fd330e72d45787ef56b1449acd73cea1858c6 \
                    sha256  95c0fa49e6b4e36455b91fa09ad1b71b230c990ad91d948af67ea3509a1a4ccb \
                    size    770363

python.versions     36 37 38

if {${name} ne ${subport}} {
    # FIXME: setuptools_scm should not be required if building from source tarball
    depends_build-append  port:py${python.version}-cython \
                          port:py${python.version}-extension-helpers \
                          port:py${python.version}-setuptools \
                          port:py${python.version}-setuptools_scm

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

    livecheck.type  none
}
