# -*- 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-futures
version             3.3.0
categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         Backport of the concurrent.futures package from Python 3
long_description    {*}${description}
homepage            https://github.com/agronholm/pythonfutures

checksums           rmd160  6ad30013c3a4ec0a24a6b27f9c214982655fddaa \
                    sha256  7e033af76a5e35f58e56da7a91e687706faf4e7bdfb2cbc3f2cca6b9bcda9794 \
                    size    28729

python.versions     27

if {${name} ne ${subport}} {
    test.run        yes
    test.cmd        ${python.bin} test_futures.py
    test.target

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
            ${destroot}${docdir}
    }

    livecheck.type  none
}
