# -*- 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-oauth2
version             1.5.211
categories-append   devel
license             MIT
maintainers         nomaintainer
supported_archs     noarch

description         Python library for oauth2
long_description    {*}${description}

platforms           {darwin any}

homepage            https://github.com/simplegeo/python-oauth2

checksums           rmd160  70baee500d03210cf30125be0cb3281185c70626 \
                    sha256  82a38f674da1fa496c0fc4df714cbb058540bed72a30c50a2e344b0d984c4d21

python.versions     27

if {${name} ne ${subport}} {
    depends_build   port:py${python.version}-setuptools
    depends_lib-append \
                    port:py${python.version}-httplib2
    post-destroot {
        if {[file exists ${destroot}${python.pkgd}/tests]} {
            delete ${destroot}${python.pkgd}/tests
        }
    }
}
