# -*- 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.53
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}
supported_archs     noarch
platforms           {darwin any}
homepage            https://rhodesmill.org/skyfield/

checksums           rmd160  aae6e1d64aad3b561f86566c5f0966bb6550c1a3 \
                    sha256  24099855f3ba3906663ac1c10e650041e747680b986e807400eddedc0be4a8b4 \
                    size    343126

python.versions     39 310 311 312 313

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
}
