# -*- 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-oauth2client
version             4.1.3
revision            0

categories-append   www
platforms           darwin
supported_archs     noarch
maintainers         nomaintainer
license             Apache-2

description         client library for OAuth 2.0
long_description    ${description}

homepage            https://github.com/google/oauth2client/
master_sites        pypi:o/${python.rootname}
distname            ${python.rootname}-${version}

checksums           rmd160  bfa0e65e574bdaaad29928a66962bdeb284f28be \
                    sha256  d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6 \
                    size    155910

python.versions     27 35 36 37 38

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

    depends_lib-append \
                    port:py${python.version}-httplib2 \
                    port:py${python.version}-asn1-modules \
                    port:py${python.version}-rsa \
                    port:py${python.version}-six

    livecheck.type  none
}