# -*- 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 coverage set _n [string index ${_name} 0] name py-${_name} version 4.0.3 categories-append devel maintainers petr openmaintainer license BSD description Code coverage measurement for Python long_description Coverage measures code coverage, typically during test \ execution. It uses the code analysis tools and tracing \ hooks provided in the Python standard library to \ determine which lines are executable, and which have \ been executed. platforms darwin homepage http://nedbatchelder.com/code/${_name}/ master_sites pypi:${_n}/${_name}/ distname ${_name}-${version} checksums md5 c7d3db1882484022c81bf619be7b6365 \ rmd160 cca17ffcb98dd7617ec27bf86a67a8931798f50a \ sha256 85b1275b6d7a61ccc8024a4e9a4c9e896394776edce1a5d075ec116f91925462 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools patchfiles patch-setup.py.diff livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }