# -*- 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-pyerfa
version             1.7.2
revision            0
categories-append   science
license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         PyERFA is the Python wrapper for the ERFA library
long_description    {*}${description} (Essential Routines for Fundamental Astronomy), a \
                    C library containing key algorithms for astronomy, which is based on \
                    the SOFA library published by the International Astronomical Union \
                    (IAU).
platforms           darwin
homepage            https://github.com/liberfa/pyerfa

checksums           rmd160  098c9401d0da8e79b8ff89d731f5ad87bdcab028 \
                    sha256  31776213ec36e6bb5382b526be02e417b8697d791c6837199342c19e7dabe8e8 \
                    size    1326731

python.versions     36 37 38 39

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

    depends_lib-append  \
                    port:erfa

    livecheck.type  none
}
