New package: python3-pytest-timeout-1.4.2

This commit is contained in:
Tim Sandquist 2021-09-04 09:16:14 -05:00 committed by Michal Vasilek
parent ed776ca3b8
commit 96097673c3

View file

@ -0,0 +1,25 @@
# Template file for 'python3-pytest-timeout'
pkgname=python3-pytest-timeout
version=1.4.2
revision=1
wrksrc="pytest-timeout-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pytest"
checkdepends="${depends} python3-pexpect python3-pytest-cov"
short_desc="Pytest plugin which will terminate tests after a certain timeout"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="MIT"
homepage="https://github.com/pytest-dev/pytest-timeout/"
distfiles="${PYPI_SITE}/p/pytest-timeout/pytest-timeout-${version}.tar.gz"
checksum=20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76
post_install() {
vlicense LICENSE
}
# adding do_check since the tests depend on this package
do_check() {
python setup.py install
pytest
}