pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-gcovr
Module Name: pkgsrc
Committed By: adam
Date: Fri Dec 26 16:08:04 UTC 2025
Modified Files:
pkgsrc/devel/py-gcovr: Makefile PLIST distinfo
Log Message:
py-gcovr: updated to 8.4
8.4
Breaking changes:
Improve data model to have several coverage information per line.
Option --merge-mode-conditions is removed.
Property function_name for a line in JSON report is now always set.
JSON report can now have several entries per line also with legacy text parser.
Cobertura and HTML report now contain function coverage also for older GCC versions.
Add excluded metrics to HTML report. The total numbers in the report contain now also
the excluded elements.
New features and notable changes:
Add support for Markdown output format.
Add filename and line number in warning logs.
Add option --markdown-file-link to link files in Markdown report.
Abort on version mismatch between gcc/gcov instead of trying all working directories.
Clean up temporary files generated by gcov tool when exception occurs.
Add branch information to Coveralls report.
Add support to define --exclude-lines-by-pattern and --exclude-branches-by-pattern
more than once.
Add --sonarqube-metric to define which metric is used as branch metric in report.
Add --sonarqube-pretty to pretty print the report.
If the value for -j is 0, the number of CPUs is used. If it is negative the it means "all but N CPUs".
Add --warn-excluded-lines-with-hits to print a warning if a line which is excluded by comments has a hit counter != 0.
Add comment to exclude branches without hit in addition to exclude all.
Bug fixes and small improvements:
Fix warning Deprecated config key None used, please use 'txt-metric=branch' instead.
if txt-metric="branch" is used in config file.
Add excluded property for conditions and calls to the JSON report.
Remove the fixed width of the HTML details which leads to text overflows.
Fix duplicate constructors, destructors and wrong const overload functions in Cobertura report.
Fix JaCoCo report to follow the DTD.
Do not use option --calls as exclusion filter.
Add support for reading gcov JSON data without source files.
Add back references to the data model to get source location in error messages.
Fix deprecation warning in standalone application.
Improvements of development environment
Add optional dependencies for development.
Add pre-commit hook to ensure quality checks.
All line endings, except for the git internal files, are preserved.
Update the reference data to the newest pygments version and extend the tests with clang-17,
clang-18 and clang-19.
Fix error when merging conditions (and branches) for the same line if they are reported different
across GCOV data files.
Improve branch details view if there are branches for several functions on same line.
Do not add files without functions and lines from gcov JSON files to data model.
Improve error message if regex pattern is wrong.
The error message now contains the option name.
Align option names if it can be used multiple times. The key used for storing the option is always
written in singular and the option always has a singular version, except the options
--gcov-ignore-errors and --gcov-ignore-parse-errors.
Fix wrong handling of functions with specialization.
Fix errors in Clover XML report.
Remove optional attributes where information is not available:
loc contained the highest line number with coverage information instead of lines of the file.
ncloc contained the number of reportable lines instead of the lines of the file without comments.
statements and coveredstatements contain now the correct value instead of 0.
Add highlighting for exclusion markers in HTML report file details.
Make <title> of HTML reports more informative. The title of a file's source listing page now includes the file path.
Documentation:
Fix formatting of verbatim text included from external files.
Internal changes:
Refactor internal data model:
Add merge functionality to coverage objects instead of an own file.
Move data serialization and deserialization from JSON report to coverage classes.
Update Windows runner to windows-2022 and windows-2025.
Add trusted publishing.
Restructure the line coverage data model and change the sort order in the reports.
Improve creation of docker image and fix build warnings.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-gcovr/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-gcovr/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-gcovr/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-gcovr/Makefile
diff -u pkgsrc/devel/py-gcovr/Makefile:1.8 pkgsrc/devel/py-gcovr/Makefile:1.9
--- pkgsrc/devel/py-gcovr/Makefile:1.8 Thu Oct 9 07:57:32 2025
+++ pkgsrc/devel/py-gcovr/Makefile Fri Dec 26 16:08:04 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2025/10/09 07:57:32 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2025/12/26 16:08:04 adam Exp $
-DISTNAME= gcovr-8.3
+DISTNAME= gcovr-8.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gcovr/}
@@ -12,7 +12,7 @@ LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme>=24.1.0:../../devel/py-hatch-fancy-pypi-readme
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.4.0:../../devel/py-hatch-vcs
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.26.1:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.26.3:../../devel/py-hatchling
DEPENDS+= ${PYPKGPREFIX}-colorlog-[0-9]*:../../devel/py-colorlog
DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
Index: pkgsrc/devel/py-gcovr/PLIST
diff -u pkgsrc/devel/py-gcovr/PLIST:1.2 pkgsrc/devel/py-gcovr/PLIST:1.3
--- pkgsrc/devel/py-gcovr/PLIST:1.2 Wed Feb 12 13:08:06 2025
+++ pkgsrc/devel/py-gcovr/PLIST Fri Dec 26 16:08:04 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2025/02/12 13:08:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2025/12/26 16:08:04 adam Exp $
bin/gcovr-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -14,9 +14,27 @@ ${PYSITELIB}/gcovr/__main__.pyo
${PYSITELIB}/gcovr/configuration.py
${PYSITELIB}/gcovr/configuration.pyc
${PYSITELIB}/gcovr/configuration.pyo
-${PYSITELIB}/gcovr/coverage.py
-${PYSITELIB}/gcovr/coverage.pyc
-${PYSITELIB}/gcovr/coverage.pyo
+${PYSITELIB}/gcovr/data_model/__init__.py
+${PYSITELIB}/gcovr/data_model/__init__.pyc
+${PYSITELIB}/gcovr/data_model/__init__.pyo
+${PYSITELIB}/gcovr/data_model/container.py
+${PYSITELIB}/gcovr/data_model/container.pyc
+${PYSITELIB}/gcovr/data_model/container.pyo
+${PYSITELIB}/gcovr/data_model/coverage.py
+${PYSITELIB}/gcovr/data_model/coverage.pyc
+${PYSITELIB}/gcovr/data_model/coverage.pyo
+${PYSITELIB}/gcovr/data_model/coverage_dict.py
+${PYSITELIB}/gcovr/data_model/coverage_dict.pyc
+${PYSITELIB}/gcovr/data_model/coverage_dict.pyo
+${PYSITELIB}/gcovr/data_model/merging.py
+${PYSITELIB}/gcovr/data_model/merging.pyc
+${PYSITELIB}/gcovr/data_model/merging.pyo
+${PYSITELIB}/gcovr/data_model/stats.py
+${PYSITELIB}/gcovr/data_model/stats.pyc
+${PYSITELIB}/gcovr/data_model/stats.pyo
+${PYSITELIB}/gcovr/data_model/version.py
+${PYSITELIB}/gcovr/data_model/version.pyc
+${PYSITELIB}/gcovr/data_model/version.pyo
${PYSITELIB}/gcovr/decision_analysis.py
${PYSITELIB}/gcovr/decision_analysis.pyc
${PYSITELIB}/gcovr/decision_analysis.pyo
@@ -146,9 +164,6 @@ ${PYSITELIB}/gcovr/formats/json/__init__
${PYSITELIB}/gcovr/formats/json/read.py
${PYSITELIB}/gcovr/formats/json/read.pyc
${PYSITELIB}/gcovr/formats/json/read.pyo
-${PYSITELIB}/gcovr/formats/json/versions.py
-${PYSITELIB}/gcovr/formats/json/versions.pyc
-${PYSITELIB}/gcovr/formats/json/versions.pyo
${PYSITELIB}/gcovr/formats/json/write.py
${PYSITELIB}/gcovr/formats/json/write.pyc
${PYSITELIB}/gcovr/formats/json/write.pyo
@@ -158,6 +173,13 @@ ${PYSITELIB}/gcovr/formats/lcov/__init__
${PYSITELIB}/gcovr/formats/lcov/write.py
${PYSITELIB}/gcovr/formats/lcov/write.pyc
${PYSITELIB}/gcovr/formats/lcov/write.pyo
+${PYSITELIB}/gcovr/formats/markdown/__init__.py
+${PYSITELIB}/gcovr/formats/markdown/__init__.pyc
+${PYSITELIB}/gcovr/formats/markdown/__init__.pyo
+${PYSITELIB}/gcovr/formats/markdown/default/report_template.md.j2
+${PYSITELIB}/gcovr/formats/markdown/write.py
+${PYSITELIB}/gcovr/formats/markdown/write.pyc
+${PYSITELIB}/gcovr/formats/markdown/write.pyo
${PYSITELIB}/gcovr/formats/sonarqube/__init__.py
${PYSITELIB}/gcovr/formats/sonarqube/__init__.pyc
${PYSITELIB}/gcovr/formats/sonarqube/__init__.pyo
@@ -173,9 +195,6 @@ ${PYSITELIB}/gcovr/formats/txt/write.pyo
${PYSITELIB}/gcovr/logging.py
${PYSITELIB}/gcovr/logging.pyc
${PYSITELIB}/gcovr/logging.pyo
-${PYSITELIB}/gcovr/merging.py
-${PYSITELIB}/gcovr/merging.pyc
-${PYSITELIB}/gcovr/merging.pyo
${PYSITELIB}/gcovr/options.py
${PYSITELIB}/gcovr/options.pyc
${PYSITELIB}/gcovr/options.pyo
Index: pkgsrc/devel/py-gcovr/distinfo
diff -u pkgsrc/devel/py-gcovr/distinfo:1.4 pkgsrc/devel/py-gcovr/distinfo:1.5
--- pkgsrc/devel/py-gcovr/distinfo:1.4 Wed Feb 12 13:08:06 2025
+++ pkgsrc/devel/py-gcovr/distinfo Fri Dec 26 16:08:04 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2025/02/12 13:08:06 adam Exp $
+$NetBSD: distinfo,v 1.5 2025/12/26 16:08:04 adam Exp $
-BLAKE2s (gcovr-8.3.tar.gz) = e61cb1971dc1599f141e205301035172a98ecf472bc0e73625132f65d7aab9bc
-SHA512 (gcovr-8.3.tar.gz) = 5e161acf297d977d0e3ba92d37dfb395b39651be968dc7374989935b8dc14a17ba70d001d533dab4a8a2f861e7ee63761cb4378644de33649fb050f7cf291fcb
-Size (gcovr-8.3.tar.gz) = 175323 bytes
+BLAKE2s (gcovr-8.4.tar.gz) = e3f2012342bd8b779b7a4e7238a5c918fcf7e4d6849b264199d82bfed4f52243
+SHA512 (gcovr-8.4.tar.gz) = c768d3b06a07af2523e015c5d2f4a1c9c3272787d6e48e28dcd39f6fe2c696f42e42ade7ba8ccaf7191595d7d125f8939d5388914ab0a48f2a2bf5021d64888b
+Size (gcovr-8.4.tar.gz) = 188132 bytes
Home |
Main Index |
Thread Index |
Old Index