pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-coverage



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 18 15:26:47 UTC 2021

Modified Files:
        pkgsrc/devel/py-coverage: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-coverage/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-coverage/PLIST
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/py-coverage/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-coverage/Makefile
diff -u pkgsrc/devel/py-coverage/Makefile:1.29 pkgsrc/devel/py-coverage/Makefile:1.30
--- pkgsrc/devel/py-coverage/Makefile:1.29      Mon Dec 21 09:33:05 2020
+++ pkgsrc/devel/py-coverage/Makefile   Tue May 18 15:26:46 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2020/12/21 09:33:05 adam Exp $
+# $NetBSD: Makefile,v 1.30 2021/05/18 15:26:46 adam Exp $
 
-DISTNAME=      coverage-5.3.1
+DISTNAME=      coverage-5.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/coverage/}
@@ -12,17 +12,16 @@ LICENSE=    modified-bsd
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
-TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.4.0:../../devel/py-flaky
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.20.1:../../devel/py-test-xdist
-TEST_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins-[0-9]*:../../devel/py-unittest-mixins
+TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.7.0:../../devel/py-flaky
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.57.1:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.5:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist
+TEST_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins>=1.6:../../devel/py-unittest-mixins
 
 PYTHON_VERSIONED_DEPENDENCIES= test:test
 
 PYSETUPTESTTARGET=     pytest
 
-# https://github.com/nedbat/coveragepy/issues/983
-CHECK_PORTABILITY_SKIP=        tests/gold/html/Makefile
-
 post-install:
        ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage[23]
 

Index: pkgsrc/devel/py-coverage/PLIST
diff -u pkgsrc/devel/py-coverage/PLIST:1.9 pkgsrc/devel/py-coverage/PLIST:1.10
--- pkgsrc/devel/py-coverage/PLIST:1.9  Mon Dec 21 09:33:05 2020
+++ pkgsrc/devel/py-coverage/PLIST      Tue May 18 15:26:46 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2020/12/21 09:33:05 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2021/05/18 15:26:46 adam Exp $
 bin/coverage-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -16,9 +16,6 @@ ${PYSITELIB}/coverage/__main__.pyo
 ${PYSITELIB}/coverage/annotate.py
 ${PYSITELIB}/coverage/annotate.pyc
 ${PYSITELIB}/coverage/annotate.pyo
-${PYSITELIB}/coverage/backunittest.py
-${PYSITELIB}/coverage/backunittest.pyc
-${PYSITELIB}/coverage/backunittest.pyo
 ${PYSITELIB}/coverage/backward.py
 ${PYSITELIB}/coverage/backward.pyc
 ${PYSITELIB}/coverage/backward.pyo
@@ -92,9 +89,6 @@ ${PYSITELIB}/coverage/multiproc.pyo
 ${PYSITELIB}/coverage/numbits.py
 ${PYSITELIB}/coverage/numbits.pyc
 ${PYSITELIB}/coverage/numbits.pyo
-${PYSITELIB}/coverage/optional.py
-${PYSITELIB}/coverage/optional.pyc
-${PYSITELIB}/coverage/optional.pyo
 ${PYSITELIB}/coverage/parser.py
 ${PYSITELIB}/coverage/parser.pyc
 ${PYSITELIB}/coverage/parser.pyo

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



Home | Main Index | Thread Index | Old Index