# -*- 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                gcovr
version             8.4
revision            0
categories          devel python
license             BSD
maintainers         nomaintainer

description         A utility for generating summarizing code coverage results from gcov

long_description    Gcovr provides a utility for managing the use of the GNU \
                    gcov utility and generating summarized code coverage results.

homepage            https://gcovr.com

checksums           rmd160  f79f3e4bba67356452e8c020394cfd43f92134c8 \
                    sha256  8ea0cf23176b1029f28db679d712ca6477b3807097c3755c135bdc53b51cfa72 \
                    size    188132

python.default_version 313

python.pep517_backend hatch

# gcovr pins the hatchling version to a specific value. MacPorts's hatchling may be newer.
# See https://github.com/gcovr/gcovr/issues/1063
patchfiles          relax-hatchling-version.patch

depends_build-append \
                    port:py${python.version}-hatch-vcs \
                    port:py${python.version}-hatch-fancy-pypi-readme

depends_lib-append  port:py${python.version}-jinja2 \
                    port:py${python.version}-lxml \
                    port:py${python.version}-colorlog \
                    port:py${python.version}-pygments
