# -*- 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             2.6.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}

checksums           rmd160  471d535f41aa69f225e62bd74af1779a5fdbed04 \
                    sha256  ad160fc1ea8f19e331a16a14a79f3d643d813a69534ba9611d2c80dc10439dad \
                    size    188477

python.versions     27 35 36 37 38 39 310

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

    if {${python.version} in "27 35"} {
        version     1.25.0
        revision    0
        checksums   rmd160 077e7c5a61134747ba2879b9fa0710f05615bff4 \
                    sha256 514e39f4190ca972200ba33876da5a8857c5665f2b4ccc36c8b8ee21228aae80 \
                    size 121940
    }

    livecheck.type  none
}
