# -*- 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-google-auth
version             1.25.0
revision            0

categories-append   www devel
platforms           darwin
supported_archs     noarch
license             Apache-2
maintainers         {wholezero.org:macports @mrdomino} openmaintainer

description         simplifies using Google's various server-to-server \
                    authentication mechanisms
long_description    ${description}

homepage            https://pypi.python.org/pypi/${python.rootname}
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

checksums           rmd160  077e7c5a61134747ba2879b9fa0710f05615bff4 \
                    sha256  514e39f4190ca972200ba33876da5a8857c5665f2b4ccc36c8b8ee21228aae80 \
                    size    121940

python.versions     27 35 36 37 38 39

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

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

    livecheck.type  none
}
