python3-coverage: update to 7.8.0.

This commit is contained in:
Gonzalo Tornaría 2025-04-18 16:26:16 -03:00 committed by Andrew J. Hesford
parent 3b486ed002
commit 681dcd17cb

View file

@ -1,8 +1,10 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
version=7.6.12
version=7.8.0
revision=1
build_style=python3-pep517
# this counts files but our installed package has fewer files
make_check_args="--deselect tests/test_testing.py::test_all_our_source_files"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
checkdepends="$depends python3-pytest-xdist python3-flaky python3-hypothesis"
@ -12,7 +14,7 @@ license="Apache-2.0"
homepage="https://github.com/nedbat/coveragepy"
changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
checksum=48cfc4641d95d34766ad41d9573cc0f22a48aa88d22657a1fe01dca0dbae4de2
checksum=7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501
pre_check() {
# required setup, see tox.ini
@ -26,7 +28,8 @@ do_check() {
local testpy="${testdir}/bin/python3"
"${testpy}" -m installer dist/*.whl
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS}
PATH="${testdir}/bin:${PATH}" "${testpy}" -m pytest -n ${XBPS_MAKEJOBS} \
${make_check_args} ${make_check_target}
}
post_install() {