# -*- 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-skyfield
version             1.54
revision            0

categories          python
license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Skyfield is a pure-Python astronomy package that makes it easy to \
                    generate high precision research-grade positions for planets and \
                    Earth satellites.
long_description    {*}${description}
homepage            https://rhodesmill.org/skyfield/

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  fb18ef28572e5f7a6a7707b0012d25e560d766a9 \
                    sha256  bf8b79d6dbbe1add0327aca485d6388bb6a13cab70528d015913a9b07a1d6903 \
                    size    346829

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-astropy \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-certifi \
                    port:py${python.version}-dateutil \
                    port:py${python.version}-html5lib \
                    port:py${python.version}-jplephem \
                    port:py${python.version}-lxml \
                    port:py${python.version}-mock \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-pyflakes \
                    port:py${python.version}-sgp4 \
                    port:py${python.version}-sphinx \
                    port:py${python.version}-spktype21 \
                    port:py${python.version}-tz
}
