# -*- 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-dap
python.rootname     pydap
version             3.5
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT BSD
maintainers         nomaintainer

description         Python implementation of the Data Access Protocol
long_description    A scientific protocol for data access developed by the \
    OPeNDAP team (http://opendap.org). This implementation is developed from \
    scratch, following the latest specification of the protocol (DAP 2.0 \
    Draft Community Standard 2005/04/27).

homepage            https://pydap.readthedocs.org/en/latest

checksums           rmd160  e19ef098569346863080870668f9254742e45ca8 \
                    sha256  0ee6cb7a4892ef22a15c4e2aa58b2656104c542c74faf16c580c56fdf97647ab \
                    size    4385073

python.versions     312

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}-docopt \
                    port:py${python.version}-importlib-metadata \
                    port:py${python.version}-importlib-resources \
                    port:py${python.version}-jinja2 \
                    port:py${python.version}-lxml \
                    port:py${python.version}-numpy \
                    port:py${python.version}-requests \
                    port:py${python.version}-webob
}
