# -*- 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-iers-data
python.rootname     astropy_iers_data
version             0.2025.5.12.0.38.29
revision            0
license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         IERS Earth Rotation and Leap Second tables for the astropy core \
                    package
long_description    {*}${description}
homepage            https://github.com/astropy/astropy-iers-data

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  72fd7eb4d26d2bb8efed3c3706de290e4db067a2 \
                    sha256  c8f97e1ae867312cdd8978ae1a1f24a3c1f130a1bcab5f29a3a10fcc4f5681be \
                    size    1901122

python.versions     39 310 311 312 313

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

    patchfiles      pyproject.toml.patch
}
