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

python.versions     27 35 36 37 38

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            https://distributed.readthedocs.io/en/latest/

checksums           rmd160  8284d98373bd121dd579e3773999fc557282a0d2 \
                    sha256  b66a15d6c02c28dd07e815d09cd77dab8484004533d38895714a5f10c7e7e325 \
                    size    578130

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} eq 27} {
        version             1.28.1
        revision            0
        epoch               1
        distname            ${python.rootname}-${version}
        checksums           rmd160  e5d7ee1da92d535e8dc1926f28aa83f3776d5386 \
                            sha256  3bd83f8b7eb5938af5f2be91ccff8984630713f36f8f66097e531a63f141c48a \
                            size    536974
        depends_lib-append  port:py${python.version}-futures \
                            port:py${python.version}-singledispatch
    }

    if {${python.version} eq 35} {
        version             2.6.0
        revision            0
        epoch               1
        distname            ${python.rootname}-${version}
        checksums           rmd160  442c4f7d765a6e47cb87ef5586427436cf6a3c20 \
                            sha256  30b0ca195ace1e39bdd278bf1ad257f7674b3e2b8e7a2a37ce7e2ade4aecccf3 \
                            size    565198
    }

    livecheck.type      none
}