# -*- 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        tweepy tweepy 3.8.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
name                py-tweepy

categories-append   devel net
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         A Python library for the Twitter API.
long_description    {*}${description}

homepage            https://www.tweepy.org/

checksums           rmd160  12234d5f6a4309341e4a3aec4ddde03f04758f21 \
                    sha256  8abd828ba51a85a2b5bb7373715d6d3bb32d18ac624e3a4db02e4ef8ab48316b \
                    size    25219

python.versions     27

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

    depends_lib-append \
                    port:py${python.version}-requests \
                    port:py${python.version}-requests-oauthlib \
                    port:py${python.version}-six \
                    port:py${python.version}-socks
}
