# -*- 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.4.7.0.35.30
revision            0
license             BSD
platforms           {darwin any}
supported_archs     noarch
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

checksums           rmd160  301dbd2aa87702c26d9097a068cbd69e34754776 \
                    sha256  c23fd1f222aa568a63c3a074075ddc90d7adfb5331775d2e5fe113598c69e84c \
                    size    1897742

python.versions     39 310 311 312 313

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