# -*- 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-astropy-healpix
version             2.0.1
revision            0

distname            astropy_healpix-${version}
categories-append   science
license             BSD
maintainers         {aronnax @lpsinger} openmaintainer

description         BSD-licensed HEALPix for Astropy
long_description    {*}${description}

homepage            https://github.com/astropy/astropy-healpix

checksums           rmd160  f9720960f0ccb8d9e56d5ed18ea2425fc0970780 \
                    sha256  0e3f1c94064c45da779900cb90c938df7aef99a924abb23eeb893b16540e77e6 \
                    size    112256

python.versions     310 311 312 313 314

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

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