# -*- 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-contextlib2
version             0.5.5
revision            0
categories-append   devel
platforms           darwin
license             PSF
supported_archs     noarch

python.versions     27 34 35 36

maintainers         {stromnov @stromnov} openmaintainer

description         Backports and enhancements for the contextlib module
long_description    ${description}

homepage            http://contextlib2.readthedocs.org/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

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

checksums           rmd160  088c23e90ae94004822640c937a005fced5b7153 \
                    sha256  509f9419ee91cdd00ba34443217d5ca51f5a364a404e1dce9e8979cea969ca48

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

    livecheck.type      none
}