# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        requests requests-oauthlib 1.3.0 v
name                py-${name}
categories-append   devel net
platforms           darwin
supported_archs     noarch
license             ISC
maintainers         nomaintainer

description         OAuth for Humans
long_description    ${description}: an easy-to-use Python interface for building \
                    OAuth1 and OAuth2 clients.

checksums           rmd160  8f6a80350eb0dd2a336fa3c7565a3a7865c6e858 \
                    sha256  1bbea903af00869f60e975e8a645108b70923aaf3c29d9477226d5181cd90e04 \
                    size    45436

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}-requests \
                    port:py${python.version}-oauthlib

    livecheck.type  none
}
