# -*- 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-trollius
version             2.2.1
revision            0
categories-append   devel
platforms           {darwin any}
license             Apache-2
supported_archs     noarch

python.versions     27 35 36

maintainers         {stromnov @stromnov} openmaintainer

description         Port of the Tulip project (asyncio module, PEP 3156) on Python 2
long_description    {*}${description}

homepage            https://bitbucket.org/enovance/trollius/

checksums           rmd160  82b68d471bea3e99ac3c52f3171cc4145d6c51a2 \
                    sha256  e525b94e80c5893293320975b93bb06f5104b6b84f7299e9708a7ae4d5c310ca \
                    size    302823

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

    if {${subport} eq "py27-trollius"} {
        depends_lib-append  port:py${python.version}-futures
    }
}
