# -*- 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.0.2
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  761994b8a88481d50704388b3a932b6c02797600 \
                    sha256  056fa6ed9396bedc771d374d877cde83d9460a3f62a78fe05dbf9ba03940323a \
                    size    108987

python.versions     39 310 311 312 313

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}-extension-helpers \
                    port:py${python.version}-numpy
}
