# -*- 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-s3transfer
version             0.1.12
platforms           darwin
license             Apache-2
maintainers         pixilla openmaintainer

description         An Amazon S3 Transfer Manager
long_description    ${description}

homepage            https://github.com/boto/${python.rootname}
master_sites        pypi:s/${python.rootname}
distname            ${python.rootname}-${version}
checksums           md5     adacef9424da247a4d5af1b592ded648 \
                    rmd160  6df582495b88643b353be21713f08cf17e2cbaf3 \
                    sha256  10891b246296e0049071d56c32953af05cea614dca425a601e4c0be35990121e

python.versions     27 34 35 36

if {${name} ne ${subport}} {
    depends_build           port:py${python.version}-setuptools
    depends_lib-append      port:py${python.version}-botocore
    if {${python.version} < 32} {
        depends_lib-append  port:py${python.version}-futures
    }
    test.run                yes
    livecheck.type          none
}