# -*- 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.15.0
revision            0

categories-append   science
license             BSD
maintainers         {aronnax @lpsinger} openmaintainer
description         Astropy affiliated package for image reprojection
long_description    {*}${description}
homepage            https://reproject.readthedocs.io/

checksums           rmd160  b39fd7cb6f8b9a915d9612785dc8a84363eaa926 \
                    sha256  97da66c6d5c81a797c4fc7c2b14a7fe72de445e83731775a3748b6ae9704a84e \
                    size    1602800

python.versions     311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-cython \
                    port:py${python.version}-extension-helpers \
                    port:py${python.version}-numpy \
                    port:py${python.version}-setuptools_scm

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

    patchfiles  patch-pyproject.toml.diff
}
