# -*- 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 0.8.0 v
name                py-${name}
categories-append   devel net
platforms           darwin
supported_archs     noarch
license             ISC
maintainers         {devans @dbevans} openmaintainer

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

checksums           rmd160  7b40be5cf35b0252bd220042392ca399cef669de \
                    sha256  e0629acb0aa73a7643df58c9304a9fe753dad2405fd9a406258388f4e7296958

python.versions     27 34 35 36

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
}