# -*- 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 pyimgur set _n [string index ${_name} 0] name py-imgur version 0.5.3 categories-append devel platforms darwin supported_archs noarch license GPL-3 maintainers petr openmaintainer description The simple way of using Imgur long_description ${description} homepage https://pypi.python.org/pypi/${_name}/${version} distname ${_name}-${version} master_sites pypi:${_n}/${_name}/ checksums md5 6a5585a8729a77024dee196b5894e6dc \ rmd160 da8397a8c4b2fe41a49fcae7ac6d6ea24834f629 \ sha256 63da5e6793363ceab8a76328c11faab6fc5dd36b98a8eb16262653e445a9428a python.versions 27 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-requests livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }