# -*- 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 responses set _n [string index ${_name} 0] name py-${_name} version 0.5.1 categories-append devel platforms darwin supported_archs noarch license Apache-2 maintainers petr openmaintainer description A utility library for mocking out the requests library long_description ${description}. homepage https://pypi.python.org/pypi/responses distname ${_name}-${version} master_sites pypi:${_n}/${_name}/ checksums md5 f1962b295b18128c522e83901556deac \ rmd160 381e17e5ffc7675f27c366cb7537e0436157d8d6 \ sha256 8cad64c45959a651ceaf0023484bd26180c927fea64a81e63d334ddf6377ecea python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-cookies \ port:py${python.version}-requests \ port:py${python.version}-six if { ${python.version} < 30 } { depends_lib-append port:py${python.version}-mock } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }