26 lines
781 B
Bash
26 lines
781 B
Bash
# Template file for 'python3-pytest-timeout'
|
|
pkgname=python3-pytest-timeout
|
|
version=1.4.2
|
|
revision=2
|
|
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
|
|
}
|