# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name tweepy set _n [string index ${_name} 0] name py-${_name} version 1.12 categories-append devel net platforms darwin supported_archs noarch license MIT maintainers nomaintainer description A python library for the Twitter API. long_description \ ${description} OAuth, complete coverage, streaming API homepage http://www.tweepy.org/ master_sites https://pypi.python.org/packages/source/${_n}/${_name}/ distname ${_name}-${version} checksums md5 ff802f974e445ddc232a990324451179 \ sha1 1a67c9742fa72c8fa72d27a6d831852b539b7cfa \ rmd160 b834cc08a8abd1427407553271bc2b6ca588e687 python.versions 26 27 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\.tar\\.gz\"" }