./devel/py-gcovr, Generate GCC code coverage reports

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.3, Package name: py312-gcovr-8.3, Maintainer: pkgsrc-users

Gcovr provides a utility for managing the use of the GNU gcov utility
and generating summarized code coverage results. This command is
inspired by the Python coverage.py package, which provides a similar
utility for Python.


Required to run:
[devel/py-setuptools] [textproc/py-jinja2] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 171.214 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-12 14:08:06 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-gcovr: updated to 8.3

8.3

Known bugs:

Breaking changes:

Replace setup.py with hatchling. To install from source at least version 21.3 of \ 
pip is needed.
Drop support for Python 3.8.

New features and notable changes:

Add condition coverage to text summary report.
Add --include to search files in search paths which should be added to report.
Add option to generate LCOV format produced by version 1.x of LCOV tool.
Extend logging for data merge errors with info about the data sources.
Add condition coverage merge mode option --merge-mode-conditions
Add --gcov-suspicious-hits-threshold to configure the value for detecting \ 
suspicious hits in GCOV files.
Renamed JSON element destination_blockno to destination_block_id.
Add --html-block-ids to show the block ids of the lines and branches in HTML report.

Bug fixes and small improvements:

Fixed an error handling bug throwing a TypeError exception on a gcov merge \ 
assertion failure
instead of reporting the error and (if requested by the user) continuing execution.
Check format version of external generated gcov JSON files.
Fix crash on Windows when trying to fix the case of the files.
Fix LCOV report. Excluded lines where added with a count of 0.
Fix line exclusion not clearing all child coverage data.
Fix summary stats in JaCoCo report.
Fix path issue when reading/writing Coveralls report.
Fix issue with negative counters in GCOV JSON export.

Documentation:

Update documentation for developing with Docker.

Internal changes:

Add MacOs 15 and clang-16 to the GitHub test workflow.
Fix sporadic timestamp mismatch in development build package.
Replace black and flake8 with ruff and move configuration of pytest to \ 
pyproject.toml.
Add pylint for testing code.
Align variable names across the files.
Rework exclusion handling to keep information about excluded coverage.
Add mypy (using strict configuration) for testing code.
Add a container class for the coverage data.
Replace setup.py with hatchling.
Move gcovr to src directory.
The main routine doesn't call sys.exit on it's own, we always return the exit code.
   2023-05-02 19:16:26 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-gcovr: not for Python 2
   2022-04-19 14:03:11 by Tobias Nygren | Files touched by this commit (1)
Log message:
py-gcovr: use versioned dependencies for jinja2
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2019-06-11 13:34:39 by Mark Davies | Files touched by this commit (4)
Log message:
py-gcovr: Add version 4.1

Gcovr provides a utility for managing the use of the GNU gcov utility
and generating summarized code coverage results. This command is
inspired by the Python coverage.py package, which provides a similar
utility for Python.