# -*- 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.14.1
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  7d47fab92522395325a65e6654fa130e347be894 \
                    sha256  53c8ea279b8b557f33a1e430af5e053cd747002440e072bae6ad9302d46be579 \
                    size    874343

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append  port:py${python.version}-cython \
                          port:py${python.version}-extension-helpers \
                          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
}
