# -*- 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             1.1.3
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  6ed25a35cc604d483fe3c2580d7cb94702c5e9d3 \
                    sha256  f520d83abe8215d3e8e1a37b2bd91171ee36a6f55f110d5a2db863d75d81b3b7 \
                    size    109331

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
}
