Tue May 18 15:26:47 2021 UTC ()
py-coverage: updated to 5.5

Version 5.5 ��� 2021-02-28

coverage combine has a new option, --keep to keep the original data files after combining them. The default is still to delete the files after they have been combined. This was requested in issue 1108 and implemented in pull request 1110. Thanks, ��ric Larivi竪re.
When reporting missing branches in coverage report, branches aren���t reported that jump to missing lines. This adds to the long-standing behavior of not reporting branches from missing lines. Now branches are only reported if both the source and destination lines are executed. Closes both issue 1065 and issue 955.
Minor improvements to the HTML report:
The state of the line visibility selector buttons is saved in local storage so you don���t have to fiddle with them so often, fixing issue 1123.
It has a little more room for line numbers so that 4-digit numbers work well, fixing issue 1124.
Improved the error message when combining line and branch data, so that users will be more likely to understand what���s happening, closing issue 803.

Version 5.4 ��� 2021-01-24

The text report produced by coverage report now always outputs a TOTAL line, even if only one Python file is reported. This makes regex parsing of the output easier. Thanks, Judson Neer. This had been requested a number of times (issue 1086, issue 922, issue 732).
The skip_covered and skip_empty settings in the configuration file can now be specified in the [html] section, so that text reports and HTML reports can use separate settings. The HTML report will still use the [report] settings if there isn���t a value in the [html] section. Closes issue 1090.
Combining files on Windows across drives now works properly, fixing issue 577. Thanks, Valentin Lab.
Fix an obscure warning from deep in the _decimal module, as reported in issue 1084.
Update to support Python 3.10 alphas in progress, including PEP 626: Precise line numbers for debugging and other tools.


(adam)
diff -r1.29 -r1.30 pkgsrc/devel/py-coverage/Makefile
diff -r1.9 -r1.10 pkgsrc/devel/py-coverage/PLIST
diff -r1.22 -r1.23 pkgsrc/devel/py-coverage/distinfo

cvs diff -r1.29 -r1.30 pkgsrc/devel/py-coverage/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-coverage/Makefile 2020/12/21 09:33:05 1.29
+++ pkgsrc/devel/py-coverage/Makefile 2021/05/18 15:26:46 1.30
@@ -1,31 +1,30 @@ @@ -1,31 +1,30 @@
1# $NetBSD: Makefile,v 1.29 2020/12/21 09:33:05 adam Exp $ 1# $NetBSD: Makefile,v 1.30 2021/05/18 15:26:46 adam Exp $
2 2
3DISTNAME= coverage-5.3.1 3DISTNAME= coverage-5.5
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=c/coverage/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=c/coverage/}
7 7
8MAINTAINER= kamel.derouiche@gmail.com 8MAINTAINER= kamel.derouiche@gmail.com
9HOMEPAGE= https://coverage.readthedocs.io/ 9HOMEPAGE= https://coverage.readthedocs.io/
10COMMENT= Python module that measures code coverage for Python 10COMMENT= Python module that measures code coverage for Python
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner 13BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
14DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 14DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
15TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.4.0:../../devel/py-flaky 15TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.7.0:../../devel/py-flaky
16TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.20.1:../../devel/py-test-xdist 16TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.57.1:../../devel/py-hypothesis
17TEST_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins-[0-9]*:../../devel/py-unittest-mixins 17TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.5:../../devel/py-mock
 18TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist
 19TEST_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins>=1.6:../../devel/py-unittest-mixins
18 20
19PYTHON_VERSIONED_DEPENDENCIES= test:test 21PYTHON_VERSIONED_DEPENDENCIES= test:test
20 22
21PYSETUPTESTTARGET= pytest 23PYSETUPTESTTARGET= pytest
22 24
23# https://github.com/nedbat/coveragepy/issues/983 
24CHECK_PORTABILITY_SKIP= tests/gold/html/Makefile 
25 
26post-install: 25post-install:
27 ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage[23] 26 ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage[23]
28 27
29.include "../../lang/python/egg.mk" 28.include "../../lang/python/egg.mk"
30.include "../../lang/python/versioned_dependencies.mk" 29.include "../../lang/python/versioned_dependencies.mk"
31.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"

cvs diff -r1.9 -r1.10 pkgsrc/devel/py-coverage/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-coverage/PLIST 2020/12/21 09:33:05 1.9
+++ pkgsrc/devel/py-coverage/PLIST 2021/05/18 15:26:46 1.10
@@ -1,34 +1,31 @@ @@ -1,34 +1,31 @@
1@comment $NetBSD: PLIST,v 1.9 2020/12/21 09:33:05 adam Exp $ 1@comment $NetBSD: PLIST,v 1.10 2021/05/18 15:26:46 adam Exp $
2bin/coverage-${PYVERSSUFFIX} 2bin/coverage-${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
7${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 7${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
8${PYSITELIB}/${EGG_INFODIR}/requires.txt 8${PYSITELIB}/${EGG_INFODIR}/requires.txt
9${PYSITELIB}/${EGG_INFODIR}/top_level.txt 9${PYSITELIB}/${EGG_INFODIR}/top_level.txt
10${PYSITELIB}/coverage/__init__.py 10${PYSITELIB}/coverage/__init__.py
11${PYSITELIB}/coverage/__init__.pyc 11${PYSITELIB}/coverage/__init__.pyc
12${PYSITELIB}/coverage/__init__.pyo 12${PYSITELIB}/coverage/__init__.pyo
13${PYSITELIB}/coverage/__main__.py 13${PYSITELIB}/coverage/__main__.py
14${PYSITELIB}/coverage/__main__.pyc 14${PYSITELIB}/coverage/__main__.pyc
15${PYSITELIB}/coverage/__main__.pyo 15${PYSITELIB}/coverage/__main__.pyo
16${PYSITELIB}/coverage/annotate.py 16${PYSITELIB}/coverage/annotate.py
17${PYSITELIB}/coverage/annotate.pyc 17${PYSITELIB}/coverage/annotate.pyc
18${PYSITELIB}/coverage/annotate.pyo 18${PYSITELIB}/coverage/annotate.pyo
19${PYSITELIB}/coverage/backunittest.py 
20${PYSITELIB}/coverage/backunittest.pyc 
21${PYSITELIB}/coverage/backunittest.pyo 
22${PYSITELIB}/coverage/backward.py 19${PYSITELIB}/coverage/backward.py
23${PYSITELIB}/coverage/backward.pyc 20${PYSITELIB}/coverage/backward.pyc
24${PYSITELIB}/coverage/backward.pyo 21${PYSITELIB}/coverage/backward.pyo
25${PYSITELIB}/coverage/bytecode.py 22${PYSITELIB}/coverage/bytecode.py
26${PYSITELIB}/coverage/bytecode.pyc 23${PYSITELIB}/coverage/bytecode.pyc
27${PYSITELIB}/coverage/bytecode.pyo 24${PYSITELIB}/coverage/bytecode.pyo
28${PYSITELIB}/coverage/cmdline.py 25${PYSITELIB}/coverage/cmdline.py
29${PYSITELIB}/coverage/cmdline.pyc 26${PYSITELIB}/coverage/cmdline.pyc
30${PYSITELIB}/coverage/cmdline.pyo 27${PYSITELIB}/coverage/cmdline.pyo
31${PYSITELIB}/coverage/collector.py 28${PYSITELIB}/coverage/collector.py
32${PYSITELIB}/coverage/collector.pyc 29${PYSITELIB}/coverage/collector.pyc
33${PYSITELIB}/coverage/collector.pyo 30${PYSITELIB}/coverage/collector.pyo
34${PYSITELIB}/coverage/config.py 31${PYSITELIB}/coverage/config.py
@@ -82,29 +79,26 @@ ${PYSITELIB}/coverage/inorout.pyc @@ -82,29 +79,26 @@ ${PYSITELIB}/coverage/inorout.pyc
82${PYSITELIB}/coverage/inorout.pyo 79${PYSITELIB}/coverage/inorout.pyo
83${PYSITELIB}/coverage/jsonreport.py 80${PYSITELIB}/coverage/jsonreport.py
84${PYSITELIB}/coverage/jsonreport.pyc 81${PYSITELIB}/coverage/jsonreport.pyc
85${PYSITELIB}/coverage/jsonreport.pyo 82${PYSITELIB}/coverage/jsonreport.pyo
86${PYSITELIB}/coverage/misc.py 83${PYSITELIB}/coverage/misc.py
87${PYSITELIB}/coverage/misc.pyc 84${PYSITELIB}/coverage/misc.pyc
88${PYSITELIB}/coverage/misc.pyo 85${PYSITELIB}/coverage/misc.pyo
89${PYSITELIB}/coverage/multiproc.py 86${PYSITELIB}/coverage/multiproc.py
90${PYSITELIB}/coverage/multiproc.pyc 87${PYSITELIB}/coverage/multiproc.pyc
91${PYSITELIB}/coverage/multiproc.pyo 88${PYSITELIB}/coverage/multiproc.pyo
92${PYSITELIB}/coverage/numbits.py 89${PYSITELIB}/coverage/numbits.py
93${PYSITELIB}/coverage/numbits.pyc 90${PYSITELIB}/coverage/numbits.pyc
94${PYSITELIB}/coverage/numbits.pyo 91${PYSITELIB}/coverage/numbits.pyo
95${PYSITELIB}/coverage/optional.py 
96${PYSITELIB}/coverage/optional.pyc 
97${PYSITELIB}/coverage/optional.pyo 
98${PYSITELIB}/coverage/parser.py 92${PYSITELIB}/coverage/parser.py
99${PYSITELIB}/coverage/parser.pyc 93${PYSITELIB}/coverage/parser.pyc
100${PYSITELIB}/coverage/parser.pyo 94${PYSITELIB}/coverage/parser.pyo
101${PYSITELIB}/coverage/phystokens.py 95${PYSITELIB}/coverage/phystokens.py
102${PYSITELIB}/coverage/phystokens.pyc 96${PYSITELIB}/coverage/phystokens.pyc
103${PYSITELIB}/coverage/phystokens.pyo 97${PYSITELIB}/coverage/phystokens.pyo
104${PYSITELIB}/coverage/plugin.py 98${PYSITELIB}/coverage/plugin.py
105${PYSITELIB}/coverage/plugin.pyc 99${PYSITELIB}/coverage/plugin.pyc
106${PYSITELIB}/coverage/plugin.pyo 100${PYSITELIB}/coverage/plugin.pyo
107${PYSITELIB}/coverage/plugin_support.py 101${PYSITELIB}/coverage/plugin_support.py
108${PYSITELIB}/coverage/plugin_support.pyc 102${PYSITELIB}/coverage/plugin_support.pyc
109${PYSITELIB}/coverage/plugin_support.pyo 103${PYSITELIB}/coverage/plugin_support.pyo
110${PYSITELIB}/coverage/python.py 104${PYSITELIB}/coverage/python.py

cvs diff -r1.22 -r1.23 pkgsrc/devel/py-coverage/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-coverage/distinfo 2020/12/21 09:33:05 1.22
+++ pkgsrc/devel/py-coverage/distinfo 2021/05/18 15:26:46 1.23
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.22 2020/12/21 09:33:05 adam Exp $ 1$NetBSD: distinfo,v 1.23 2021/05/18 15:26:46 adam Exp $
2 2
3SHA1 (coverage-5.3.1.tar.gz) = 72deb43a9ed3212b905498306b7847878cad5e43 3SHA1 (coverage-5.5.tar.gz) = e31dae56803fdfe484f4db8fcaa110b1389d175b
4RMD160 (coverage-5.3.1.tar.gz) = ae67b5cd3cc0130135ec74fadaa4419298aa5828 4RMD160 (coverage-5.5.tar.gz) = 5652a14045197a2e4f051128f4826f9b0dd3c6fa
5SHA512 (coverage-5.3.1.tar.gz) = 981ebc9f9490efe613edd68afdef83cb161b303e6de266335ffd2d1d3634bd5a088cbff249b0243071b55cb4f31b4b0c7537b5764660ccc86a7059307badd571 5SHA512 (coverage-5.5.tar.gz) = fb78b4920a2f18afb9545a6f13910f491708443965881954fff6ee8553ab3d6bd898f7a95df1091435e8d5627ac850b880a6233e716a6acb934ecc195ec2ee52
6Size (coverage-5.3.1.tar.gz) = 684457 bytes 6Size (coverage-5.5.tar.gz) = 691258 bytes