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

github.setup        twilio twilio-python 6.44.2
name                py-twilio
categories-append   devel net
python.versions     27 35 36 37 38
license             MIT
platforms           darwin
supported_archs     noarch
maintainers         {aronnax @lpsinger} openmaintainer
description         Twilio API client and TwiML generator
long_description    ${description}
homepage            https://www.twilio.com/docs/libraries/python

checksums           rmd160  844fdc60f9e62ff57b81614fb469ae799d9b35e9 \
                    sha256  36e808262cd8ce04881a358d29a7ca1152cf26e83dd296ee99b6900a8141fd12 \
                    size    614114

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-jwt \
                    port:py${python.version}-openssl \
                    port:py${python.version}-requests \
                    port:py${python.version}-six \
                    port:py${python.version}-tz

    depends_build-append \
                    port:py${python.version}-setuptools

    livecheck.type  none
}
