# -*- 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.0
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  4bf566c93c1bc53d6c5a8451562136fe8239bf5b \
                    sha256  6ce7646dc5b1c09a7ed24b1f23d3e2fce8e3570387220d26a24487ab001b3b0b \
                    size    112064

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
}
