# -*- 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-distributed
version             1.28.1
revision            0
categories-append   devel
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         Distributed computing.
long_description    Dask.distributed is a lightweight library for distributed \
                    computing in Python. It extends both the concurrent.futures \
                    and dask APIs to moderate sized clusters.

homepage            http://distributed.readthedocs.io/en/latest/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  e5d7ee1da92d535e8dc1926f28aa83f3776d5386 \
                    sha256  3bd83f8b7eb5938af5f2be91ccff8984630713f36f8f66097e531a63f141c48a \
                    size    536974

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-setuptools \
                        port:py${python.version}-zict \
                        port:py${python.version}-tornado \
                        port:py${python.version}-toolz \
                        port:py${python.version}-tblib \
                        port:py${python.version}-six \
                        port:py${python.version}-psutil \
                        port:py${python.version}-msgpack \
                        port:py${python.version}-dask \
                        port:py${python.version}-cloudpickle \
                        port:py${python.version}-click \
                        port:py${python.version}-yaml \
                        port:py${python.version}-sortedcontainers

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

    livecheck.type      none
}