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 Nov  8 13:39:17 UTC 2022

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

Log Message:
py-coverage: updated to 6.5.0

Version 6.5.0 — 2022-09-29
--------------------------

- The JSON report now includes details of which branches were taken, and which
  are missing for each file. Thanks, Christoph Blessing (`pull 1438`_). Closes
  `issue 1425`_.

- Starting with coverage.py 6.2, ``class`` statements were marked as a branch.
  This wasn't right, and has been reverted, fixing `issue 1449`_. Note this
  will very slightly reduce your coverage total if you are measuring branch
  coverage.

- Packaging is now compliant with `PEP 517`_, closing `issue 1395`_.

- A new debug option ``--debug=pathmap`` shows details of the remapping of
  paths that happens during combine due to the ``[paths]`` setting.

- Fix an internal problem with caching of invalid Python parsing. Found by
  OSS-Fuzz, fixing their `bug 50381`_.

.. _bug 50381: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381
.. _PEP 517: https://peps.python.org/pep-0517/
.. _issue 1395: https://github.com/nedbat/coveragepy/issues/1395
.. _issue 1425: https://github.com/nedbat/coveragepy/issues/1425
.. _pull 1438: https://github.com/nedbat/coveragepy/pull/1438
.. _issue 1449: https://github.com/nedbat/coveragepy/issues/1449


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/py-coverage/Makefile
cvs rdiff -u -r1.26 -r1.27 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.33 pkgsrc/devel/py-coverage/Makefile:1.34
--- pkgsrc/devel/py-coverage/Makefile:1.33      Wed Aug 24 09:36:50 2022
+++ pkgsrc/devel/py-coverage/Makefile   Tue Nov  8 13:39:17 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2022/08/24 09:36:50 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2022/11/08 13:39:17 adam Exp $
 
-DISTNAME=      coverage-6.4.4
+DISTNAME=      coverage-6.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/coverage/}
@@ -12,7 +12,6 @@ LICENSE=      apache-2.0
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
-DEPENDS+=      ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
 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
@@ -20,9 +19,14 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-test>=0:..
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist
 TEST_DEPENDS+= ${PYPKGPREFIX}-unittest-mixins>=1.6:../../devel/py-unittest-mixins
 
+USE_PKG_RESOURCES=     yes
+
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
+.endif
 
 post-install:
        ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage3

Index: pkgsrc/devel/py-coverage/distinfo
diff -u pkgsrc/devel/py-coverage/distinfo:1.26 pkgsrc/devel/py-coverage/distinfo:1.27
--- pkgsrc/devel/py-coverage/distinfo:1.26      Wed Aug 24 09:36:50 2022
+++ pkgsrc/devel/py-coverage/distinfo   Tue Nov  8 13:39:17 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2022/08/24 09:36:50 wiz Exp $
+$NetBSD: distinfo,v 1.27 2022/11/08 13:39:17 adam Exp $
 
-BLAKE2s (coverage-6.4.4.tar.gz) = b597ddd05899179b5cd3eb49d17bee246f2f7ba86c97a2ac1e9edec16d5e43bc
-SHA512 (coverage-6.4.4.tar.gz) = f210f2471b170e05d4dac2cc9a91e3f0d4ba6456cdf91dc1c0ef67a02a11f4279c5beca5df8854c42660346995492b1eff020e1ac578d2a0a129627dadd17114
-Size (coverage-6.4.4.tar.gz) = 772949 bytes
+BLAKE2s (coverage-6.5.0.tar.gz) = c33473cffdaf39ea546eba626cf65fe63169145f7b03237f1b0cd8dd86980614
+SHA512 (coverage-6.5.0.tar.gz) = 4f2ec0bf69a83471a2b5a73b6a2212372ee6e32ccc4c72e0d33eef915939152f3213ab60e1a22ce2b72791e706c2223b0c81c87b95bbfadd1e828fa1a9fff120
+Size (coverage-6.5.0.tar.gz) = 775224 bytes



Home | Main Index | Thread Index | Old Index