python3-pytest: update to 6.0.2.

This commit is contained in:
Kartik Singh 2020-09-13 19:00:43 +05:30 committed by Andrew J. Hesford
parent a252588ba0
commit 8192fb54e4
1 changed files with 3 additions and 7 deletions

View File

@ -1,8 +1,7 @@
# Template file for 'python3-pytest'
pkgname=python3-pytest
version=5.3.5
revision=2
archs=noarch
version=6.0.2
revision=1
wrksrc="pytest-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
@ -16,15 +15,12 @@ license="MIT"
homepage="https://docs.pytest.org/en/latest/"
changelog="https://docs.pytest.org/en/latest/changelog.html"
distfiles="${PYPI_SITE}/p/pytest/pytest-${version}.tar.gz"
checksum=0d5fe9189a148acc3c3eb2ac8e1ac0742cb7618c084f3d228baaec0c254b318d
checksum=c8f57c2a30983f469bf03e68cdfa74dc474ce56b8f280ddcb080dfd91df01043
alternatives="
pytest:pytest:/usr/bin/pytest3
pytest:py.test:/usr/bin/py.test3"
post_patch() {
vsed -i setup.py \
-e '/setup_requires=/d' \
-e "s|use_scm_version=.*|version=\"${version}\",|"
# This test depends on tox, and/or egg-info
# merely check pytest and py.test were generated
rm testing/test_entry_points.py