python3-pytest: update to 5.3.5.
This commit is contained in:
parent
738550af6d
commit
a7cc24ae1c
1 changed files with 9 additions and 6 deletions
|
@ -1,34 +1,37 @@
|
|||
# Template file for 'python3-pytest'
|
||||
pkgname=python3-pytest
|
||||
version=5.3.4
|
||||
version=5.3.5
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="${pkgname/python3-//}-${version}"
|
||||
wrksrc="pytest-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-py python3-packaging python3-attrs python3-more-itertools
|
||||
python3-atomicwrites python3-pluggy python3-wcwidth"
|
||||
checkdepends="$depends python3-argcomplete python3-hypothesis python3-mock
|
||||
python3-nose python3-requests python3-parsing tox"
|
||||
python3-nose python3-requests python3-parsing python3-xmlschema"
|
||||
short_desc="Simple powerful testing with Python 3"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
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=1d122e8be54d1a709e56f82e2d85dcba3018313d64647f38a91aec88c239b600
|
||||
checksum=0d5fe9189a148acc3c3eb2ac8e1ac0742cb7618c084f3d228baaec0c254b318d
|
||||
alternatives="
|
||||
pytest:pytest:/usr/bin/pytest3
|
||||
pytest:py.test:/usr/bin/py.test3"
|
||||
|
||||
post_patch() {
|
||||
sed -i setup.py \
|
||||
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
|
||||
}
|
||||
|
||||
do_check() {
|
||||
tox -e "py${py3_ver/./}"
|
||||
PYTHONPATH=$(pwd)/build/lib python3 -m pytest
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue