New package: python3-pytest-timeout-1.4.2
This commit is contained in:
parent
ed776ca3b8
commit
96097673c3
1 changed files with 25 additions and 0 deletions
25
srcpkgs/python3-pytest-timeout/template
Normal file
25
srcpkgs/python3-pytest-timeout/template
Normal 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
|
||||||
|
}
|
Loading…
Reference in a new issue