# -*- 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-siphon
version             0.10.0
revision            0

categories-append   science
supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         {mps @Schamschula} openmaintainer

description         download data from remote data services
long_description    Siphon is a collection of Python utilities for downloading data from \
    remote data services. Much of Siphon’s current functionality focuses on access to \
    data hosted on a THREDDS Data Server. 

homepage            https://unidata.github.io/siphon/latest/

checksums           rmd160  0572ae8998354e8b3090fcf8f228e29312315610 \
                    sha256  f99ff44568805d5c00c0599019302a4ea4874d861f00996c8b7de6de4d543f7b \
                    size    3359425

python.versions     310 311 312 313

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

    depends_lib-append \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-numpy \
                    port:py${python.version}-pandas \
                    port:py${python.version}-protobuf3 \
                    port:py${python.version}-requests
}
