mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 03:13:03 +02:00
python3-coverage: update to 7.8.0.
This commit is contained in:
parent
3b486ed002
commit
681dcd17cb
1 changed files with 6 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue