python3-pytest: update to 6.0.2.
This commit is contained in:
parent
a252588ba0
commit
8192fb54e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue