# -*- 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.3
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  8cf95bf985eebc0701410e9462874bd3d3b447eb \
                    sha256  faa371f9c4a7f78c9800da655107d4f99f04b718d1c0d9f48cafdcbef0049079 \
                    size    175323

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
