# -*- 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.52
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  e2488b2b4485c3f9430187f86b04652b241077a0 \
                    sha256  3d0d335a81b8db36d4a658636f211fe51122cda43908ec2573a956ec93e91dec \
                    size    443637

python.versions     39 310 311 312

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
}
