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:           Fri Aug 25 11:07:20 UTC 2023

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

Log Message:
py-coverage: updated to 7.3.0

Version 7.3.0 — 2023-08-12

Added a Coverage.collect() context manager to start and stop coverage data collection.
Dropped support for Python 3.7.
Fix: in unusual circumstances, SQLite cannot be set to asynchronous mode. Coverage.py would fail with the error Safety level may not be changed inside a transaction. This is now avoided, closing 
issue 1646. Thanks to Michael Bell for the detailed bug report.
Docs: examples of configuration files now include separate examples for the different syntaxes: .coveragerc, pyproject.toml, setup.cfg, and tox.ini.
Fix: added nosemgrep comments to our JavaScript code so that semgrep-based SAST security checks won’t raise false alarms about security problems that aren’t problems.
Added a CITATION.cff file, thanks to Ken Schackart.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/devel/py-coverage/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-coverage/PLIST
cvs rdiff -u -r1.30 -r1.31 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.38 pkgsrc/devel/py-coverage/Makefile:1.39
--- pkgsrc/devel/py-coverage/Makefile:1.38      Tue May 30 04:13:53 2023
+++ pkgsrc/devel/py-coverage/Makefile   Fri Aug 25 11:07:20 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2023/05/30 04:13:53 adam Exp $
+# $NetBSD: Makefile,v 1.39 2023/08/25 11:07:20 adam Exp $
 
-DISTNAME=      coverage-7.2.7
+DISTNAME=      coverage-7.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/coverage/}
@@ -10,21 +10,16 @@ HOMEPAGE=   https://coverage.readthedocs.i
 COMMENT=       Python module that measures code coverage for Python
 LICENSE=       apache-2.0
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 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}-test>=0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34.0:../../devel/py-test-xdist
 
-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
-
 post-install:
        ${RM} -f ${DESTDIR}${PREFIX}/bin/coverage ${DESTDIR}${PREFIX}/bin/coverage3
 
@@ -33,5 +28,5 @@ post-install:
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-coverage/PLIST
diff -u pkgsrc/devel/py-coverage/PLIST:1.13 pkgsrc/devel/py-coverage/PLIST:1.14
--- pkgsrc/devel/py-coverage/PLIST:1.13 Wed May 24 06:43:40 2023
+++ pkgsrc/devel/py-coverage/PLIST      Fri Aug 25 11:07:20 2023
@@ -1,66 +1,50 @@
-@comment $NetBSD: PLIST,v 1.13 2023/05/24 06:43:40 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2023/08/25 11:07:20 adam Exp $
 bin/coverage-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/coverage/__init__.py
 ${PYSITELIB}/coverage/__init__.pyc
-${PYSITELIB}/coverage/__init__.pyo
 ${PYSITELIB}/coverage/__main__.py
 ${PYSITELIB}/coverage/__main__.pyc
-${PYSITELIB}/coverage/__main__.pyo
 ${PYSITELIB}/coverage/annotate.py
 ${PYSITELIB}/coverage/annotate.pyc
-${PYSITELIB}/coverage/annotate.pyo
 ${PYSITELIB}/coverage/bytecode.py
 ${PYSITELIB}/coverage/bytecode.pyc
-${PYSITELIB}/coverage/bytecode.pyo
 ${PYSITELIB}/coverage/cmdline.py
 ${PYSITELIB}/coverage/cmdline.pyc
-${PYSITELIB}/coverage/cmdline.pyo
 ${PYSITELIB}/coverage/collector.py
 ${PYSITELIB}/coverage/collector.pyc
-${PYSITELIB}/coverage/collector.pyo
 ${PYSITELIB}/coverage/config.py
 ${PYSITELIB}/coverage/config.pyc
-${PYSITELIB}/coverage/config.pyo
 ${PYSITELIB}/coverage/context.py
 ${PYSITELIB}/coverage/context.pyc
-${PYSITELIB}/coverage/context.pyo
 ${PYSITELIB}/coverage/control.py
 ${PYSITELIB}/coverage/control.pyc
-${PYSITELIB}/coverage/control.pyo
 ${PYSITELIB}/coverage/data.py
 ${PYSITELIB}/coverage/data.pyc
-${PYSITELIB}/coverage/data.pyo
 ${PYSITELIB}/coverage/debug.py
 ${PYSITELIB}/coverage/debug.pyc
-${PYSITELIB}/coverage/debug.pyo
 ${PYSITELIB}/coverage/disposition.py
 ${PYSITELIB}/coverage/disposition.pyc
-${PYSITELIB}/coverage/disposition.pyo
 ${PYSITELIB}/coverage/env.py
 ${PYSITELIB}/coverage/env.pyc
-${PYSITELIB}/coverage/env.pyo
 ${PYSITELIB}/coverage/exceptions.py
 ${PYSITELIB}/coverage/exceptions.pyc
-${PYSITELIB}/coverage/exceptions.pyo
 ${PYSITELIB}/coverage/execfile.py
 ${PYSITELIB}/coverage/execfile.pyc
-${PYSITELIB}/coverage/execfile.pyo
 ${PYSITELIB}/coverage/files.py
 ${PYSITELIB}/coverage/files.pyc
-${PYSITELIB}/coverage/files.pyo
 ${PYSITELIB}/coverage/fullcoverage/encodings.py
 ${PYSITELIB}/coverage/fullcoverage/encodings.pyc
-${PYSITELIB}/coverage/fullcoverage/encodings.pyo
 ${PYSITELIB}/coverage/html.py
 ${PYSITELIB}/coverage/html.pyc
-${PYSITELIB}/coverage/html.pyo
 ${PYSITELIB}/coverage/htmlfiles/coverage_html.js
 ${PYSITELIB}/coverage/htmlfiles/favicon_32.png
 ${PYSITELIB}/coverage/htmlfiles/index.html
@@ -71,66 +55,47 @@ ${PYSITELIB}/coverage/htmlfiles/style.cs
 ${PYSITELIB}/coverage/htmlfiles/style.scss
 ${PYSITELIB}/coverage/inorout.py
 ${PYSITELIB}/coverage/inorout.pyc
-${PYSITELIB}/coverage/inorout.pyo
 ${PYSITELIB}/coverage/jsonreport.py
 ${PYSITELIB}/coverage/jsonreport.pyc
-${PYSITELIB}/coverage/jsonreport.pyo
 ${PYSITELIB}/coverage/lcovreport.py
 ${PYSITELIB}/coverage/lcovreport.pyc
-${PYSITELIB}/coverage/lcovreport.pyo
 ${PYSITELIB}/coverage/misc.py
 ${PYSITELIB}/coverage/misc.pyc
-${PYSITELIB}/coverage/misc.pyo
 ${PYSITELIB}/coverage/multiproc.py
 ${PYSITELIB}/coverage/multiproc.pyc
-${PYSITELIB}/coverage/multiproc.pyo
 ${PYSITELIB}/coverage/numbits.py
 ${PYSITELIB}/coverage/numbits.pyc
-${PYSITELIB}/coverage/numbits.pyo
 ${PYSITELIB}/coverage/parser.py
 ${PYSITELIB}/coverage/parser.pyc
-${PYSITELIB}/coverage/parser.pyo
 ${PYSITELIB}/coverage/phystokens.py
 ${PYSITELIB}/coverage/phystokens.pyc
-${PYSITELIB}/coverage/phystokens.pyo
 ${PYSITELIB}/coverage/plugin.py
 ${PYSITELIB}/coverage/plugin.pyc
-${PYSITELIB}/coverage/plugin.pyo
 ${PYSITELIB}/coverage/plugin_support.py
 ${PYSITELIB}/coverage/plugin_support.pyc
-${PYSITELIB}/coverage/plugin_support.pyo
 ${PYSITELIB}/coverage/py.typed
 ${PYSITELIB}/coverage/python.py
 ${PYSITELIB}/coverage/python.pyc
-${PYSITELIB}/coverage/python.pyo
 ${PYSITELIB}/coverage/pytracer.py
 ${PYSITELIB}/coverage/pytracer.pyc
-${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/sqlitedb.py
+${PYSITELIB}/coverage/sqlitedb.pyc
 ${PYSITELIB}/coverage/templite.py
 ${PYSITELIB}/coverage/templite.pyc
-${PYSITELIB}/coverage/templite.pyo
 ${PYSITELIB}/coverage/tomlconfig.py
 ${PYSITELIB}/coverage/tomlconfig.pyc
-${PYSITELIB}/coverage/tomlconfig.pyo
 ${PYSITELIB}/coverage/tracer.so
 ${PYSITELIB}/coverage/types.py
 ${PYSITELIB}/coverage/types.pyc
-${PYSITELIB}/coverage/types.pyo
 ${PYSITELIB}/coverage/version.py
 ${PYSITELIB}/coverage/version.pyc
-${PYSITELIB}/coverage/version.pyo
 ${PYSITELIB}/coverage/xmlreport.py
 ${PYSITELIB}/coverage/xmlreport.pyc
-${PYSITELIB}/coverage/xmlreport.pyo

Index: pkgsrc/devel/py-coverage/distinfo
diff -u pkgsrc/devel/py-coverage/distinfo:1.30 pkgsrc/devel/py-coverage/distinfo:1.31
--- pkgsrc/devel/py-coverage/distinfo:1.30      Tue May 30 04:13:53 2023
+++ pkgsrc/devel/py-coverage/distinfo   Fri Aug 25 11:07:20 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2023/05/30 04:13:53 adam Exp $
+$NetBSD: distinfo,v 1.31 2023/08/25 11:07:20 adam Exp $
 
-BLAKE2s (coverage-7.2.7.tar.gz) = b919717cb5c171c8d1b73b275a028f4500c4dda46d0c16ea8b1af1701a1997c1
-SHA512 (coverage-7.2.7.tar.gz) = 01ed5ef8ddb600b8a7443200b568eb5d8aa7d652f408617f78a2e1251a5f091ee05188a7d383acd530f29b688b67a4bf2dc2e1241efffe8b9d0f70f44c646f33
-Size (coverage-7.2.7.tar.gz) = 762575 bytes
+BLAKE2s (coverage-7.3.0.tar.gz) = e3af8d17330fa8b74db16d3f661e7c53089c640f061a72f6ad4740113cbb04b9
+SHA512 (coverage-7.3.0.tar.gz) = 3b394c3c96ca8484641585ce26c27100153892a77369e14e3596fe604a98ac0f9b33189d679fffd9fa80a41ac4bfa6a64dfe97e586833b39707ecc7f5aa43c35
+Size (coverage-7.3.0.tar.gz) = 763902 bytes



Home | Main Index | Thread Index | Old Index