# -*- 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.2.2
revision            0

platforms           darwin
supported_archs     noarch
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  61386b6fd56a014549dd332fb3547c62ffff45dc \
                    sha256  86326642e24f421595a74b0f9986da76d7932b277768f501fe214d72592bdc40 \
                    size    3894647

python.versions     27 37 38

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-beautifulsoup4 \
                    port:py${python.version}-docopt \
                    port:py${python.version}-jinja2 \
                    port:py${python.version}-numpy \
                    port:py${python.version}-setuptools \
                    port:py${python.version}-six \
                    port:py${python.version}-webob

    if {${python.version} == 27} {
        depends_lib-append \
                    port:py${python.version}-singledispatch
    }

    livecheck.type  none
}
