pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-coverage py-coverage: updated to 5.5
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e6fb93b66ef
branches: trunk
changeset: 452869:7e6fb93b66ef
user: adam <adam%pkgsrc.org@localhost>
date: Tue May 18 15:26:46 2021 +0000
description:
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.
diffstat:
devel/py-coverage/Makefile | 15 +++++++--------
devel/py-coverage/PLIST | 8 +-------
devel/py-coverage/distinfo | 10 +++++-----
3 files changed, 13 insertions(+), 20 deletions(-)
diffs (79 lines):
diff -r e9536c8541de -r 7e6fb93b66ef devel/py-coverage/Makefile
--- a/devel/py-coverage/Makefile Tue May 18 14:28:44 2021 +0000
+++ b/devel/py-coverage/Makefile Tue May 18 15:26:46 2021 +0000
@@ -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 @@
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]
diff -r e9536c8541de -r 7e6fb93b66ef devel/py-coverage/PLIST
--- a/devel/py-coverage/PLIST Tue May 18 14:28:44 2021 +0000
+++ b/devel/py-coverage/PLIST Tue May 18 15:26:46 2021 +0000
@@ -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/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/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
diff -r e9536c8541de -r 7e6fb93b66ef devel/py-coverage/distinfo
--- a/devel/py-coverage/distinfo Tue May 18 14:28:44 2021 +0000
+++ b/devel/py-coverage/distinfo Tue May 18 15:26:46 2021 +0000
@@ -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