# -*- 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           python 1.0

name                py-coverage
version             5.5
revision            0

categories-append   devel
platforms           darwin
maintainers         {petr @petrrr} openmaintainer
license             Apache-2

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.

homepage            https://github.com/nedbat/coveragepy

checksums           rmd160  5652a14045197a2e4f051128f4826f9b0dd3c6fa \
                    sha256  ebe78fe9a0e874362175b02371bdfbee64d8edc42a044253ddf4ee7d3c15212c \
                    size    691258

python.versions     27 35 36 37 38 39

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

    patchfiles      patch-setup.py.diff

    livecheck.type  none
}
