# -*- 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.post1
revision            1
categories-append   devel
platforms           darwin
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/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

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

checksums           rmd160  9195e2c65b90df018eb5e2033c1ef376df8690e6 \
                    sha256  1667f915b1fe11d237bb1ea380a8920d11b4ee7c5744220bdd656076cd24441b \
                    size    274972

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
    }

    livecheck.type      none
}
