# -*- 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             2.0.1.5
revision            1

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).
homepage            https://github.com/liberfa/pyerfa

checksums           rmd160  034008ecfaf5d113f3c6b889b0840400dbf41085 \
                    sha256  17d6b24fe4846c65d5e7d8c362dcb08199dc63b30a236aedd73875cc83e1f6c0 \
                    size    818430

python.versions     310 311 312 313 314

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

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