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:           Wed May 24 06:43:40 UTC 2023

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

Log Message:
py-coverage: updated to 7.2.6

Version 7.2.6 — 2023-05-23
--------------------------

- Fix: the ``lcov`` command could raise an IndexError exception if a file is
  translated to Python but then executed under its own name.  Jinja2 does this
  when rendering templates.  Fixes `issue 1553`_.

- Python 3.12 beta 1 now inlines comprehensions.  Previously they were compiled
  as invisible functions and coverage.py would warn you if they weren't
  completely executed.  This no longer happens under Python 3.12.

- Fix: the ``coverage debug sys`` command includes some environment variables
  in its output.  This could have included sensitive data.  Those values are
  now hidden with asterisks, closing `issue 1628`_.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/py-coverage/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-coverage/PLIST
cvs rdiff -u -r1.28 -r1.29 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.36 pkgsrc/devel/py-coverage/Makefile:1.37
--- pkgsrc/devel/py-coverage/Makefile:1.36      Fri May  5 10:34:25 2023
+++ pkgsrc/devel/py-coverage/Makefile   Wed May 24 06:43:40 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2023/05/05 10:34:25 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2023/05/24 06:43:40 adam Exp $
 
-DISTNAME=      coverage-7.2.5
+DISTNAME=      coverage-7.2.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/coverage/}
@@ -10,21 +10,17 @@ HOMEPAGE=   https://coverage.readthedocs.i
 COMMENT=       Python module that measures code coverage for Python
 LICENSE=       apache-2.0
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 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>=0:../../devel/py-test
 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
 
 .include "../../lang/python/pyversion.mk"
-
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
 .endif
@@ -35,7 +31,7 @@ post-install:
 # AssertionError: assert None
 # 'fixed' by running as root, needs to find a writeable directory
 do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-coverage/PLIST
diff -u pkgsrc/devel/py-coverage/PLIST:1.12 pkgsrc/devel/py-coverage/PLIST:1.13
--- pkgsrc/devel/py-coverage/PLIST:1.12 Fri May  5 10:34:25 2023
+++ pkgsrc/devel/py-coverage/PLIST      Wed May 24 06:43:40 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2023/05/05 10:34:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.13 2023/05/24 06:43:40 adam Exp $
 bin/coverage-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -109,15 +109,15 @@ ${PYSITELIB}/coverage/pytracer.pyo
 ${PYSITELIB}/coverage/report.py
 ${PYSITELIB}/coverage/report.pyc
 ${PYSITELIB}/coverage/report.pyo
+${PYSITELIB}/coverage/report_core.py
+${PYSITELIB}/coverage/report_core.pyc
+${PYSITELIB}/coverage/report_core.pyo
 ${PYSITELIB}/coverage/results.py
 ${PYSITELIB}/coverage/results.pyc
 ${PYSITELIB}/coverage/results.pyo
 ${PYSITELIB}/coverage/sqldata.py
 ${PYSITELIB}/coverage/sqldata.pyc
 ${PYSITELIB}/coverage/sqldata.pyo
-${PYSITELIB}/coverage/summary.py
-${PYSITELIB}/coverage/summary.pyc
-${PYSITELIB}/coverage/summary.pyo
 ${PYSITELIB}/coverage/templite.py
 ${PYSITELIB}/coverage/templite.pyc
 ${PYSITELIB}/coverage/templite.pyo

Index: pkgsrc/devel/py-coverage/distinfo
diff -u pkgsrc/devel/py-coverage/distinfo:1.28 pkgsrc/devel/py-coverage/distinfo:1.29
--- pkgsrc/devel/py-coverage/distinfo:1.28      Fri May  5 10:34:25 2023
+++ pkgsrc/devel/py-coverage/distinfo   Wed May 24 06:43:40 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2023/05/05 10:34:25 wiz Exp $
+$NetBSD: distinfo,v 1.29 2023/05/24 06:43:40 adam Exp $
 
-BLAKE2s (coverage-7.2.5.tar.gz) = eec47dc2fefacb303a53e91c420c5b6d138e3eeeca43b62f2fb057db2df26239
-SHA512 (coverage-7.2.5.tar.gz) = 3c4ec5aaba06170c860baa23ba61fe6f19b95a433430f045272839c13cc5bf4fb12a2a030d987ad5713202c75273646639da1257c0a618658f090c8a9fee41a7
-Size (coverage-7.2.5.tar.gz) = 759465 bytes
+BLAKE2s (coverage-7.2.6.tar.gz) = 0fac80c1c83e22494548b5da8b37e81eca7440028270f494152a1e2f3794192b
+SHA512 (coverage-7.2.6.tar.gz) = b4ef257cb2ed4297e7e3f18193bec7f0ad3e81735ce4406f96fd41b0fd2becb9f16c65f3699ccb11f145f14c1c144b9d987308353d15969e47ce0b956cd8f8fc
+Size (coverage-7.2.6.tar.gz) = 762287 bytes



Home | Main Index | Thread Index | Old Index