# -*- 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.51
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  6b11e12188e18b426ddf11dd61185d60d439304b \
                    sha256  afebb71a86ff1049885133120f9149a54ed2d8b38721307eeb0e0a93ca73aafc \
                    size    439733

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
}
