Index: Makefile =================================================================== --- Makefile +++ Makefile @@ -4028,6 +4028,7 @@ SUBDIR += py-pytemplate SUBDIR += py-pytest SUBDIR += py-pytest-runner + SUBDIR += py-pytest-timeout SUBDIR += py-python-statsd SUBDIR += py-pythonbrew SUBDIR += py-pytrie Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -4028,6 +4028,7 @@ SUBDIR += py-pytemplate SUBDIR += py-pytest SUBDIR += py-pytest-runner + SUBDIR += py-pytest-timeout SUBDIR += py-python-statsd SUBDIR += py-pythonbrew SUBDIR += py-pytrie Index: devel/py-pytest-timeout/Makefile =================================================================== --- /dev/null +++ devel/py-pytest-timeout/Makefile @@ -0,0 +1,21 @@ +# Created by: loader +# $FreeBSD$ + +PORTNAME= pytest-timeout +PORTVERSION= 0.4 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= loader@FreeBSD.org +COMMENT= Pytest plugin to abort hanging tests + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.4:${PORTSDIR}/devel/py-pytest + +USES= python +USE_PYTHON= autoplist distutils + +.include Index: devel/py-pytest-timeout/distinfo =================================================================== --- /dev/null +++ devel/py-pytest-timeout/distinfo @@ -0,0 +1,2 @@ +SHA256 (pytest-timeout-0.4.tar.gz) = d5900aaa94af5cb2d06ed806b1e636255e65a8a26eccecccd2b9a9d6123d50d5 +SIZE (pytest-timeout-0.4.tar.gz) = 10204 Index: devel/py-pytest-timeout/pkg-descr =================================================================== --- /dev/null +++ devel/py-pytest-timeout/pkg-descr @@ -0,0 +1,3 @@ +py.test plugin to abort hanging tests. + +WWW: https://pypi.python.org/pypi/pytest-timeout Index: py-pytest-timeout/Makefile =================================================================== --- py-pytest-timeout/Makefile +++ py-pytest-timeout/Makefile @@ -0,0 +1,21 @@ +# Created by: loader +# $FreeBSD$ + +PORTNAME= pytest-timeout +PORTVERSION= 0.4 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= loader@FreeBSD.org +COMMENT= Pytest plugin to abort hanging tests + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.6.4:${PORTSDIR}/devel/py-pytest + +USES= python +USE_PYTHON= autoplist distutils + +.include Index: py-pytest-timeout/distinfo =================================================================== --- py-pytest-timeout/distinfo +++ py-pytest-timeout/distinfo @@ -0,0 +1,2 @@ +SHA256 (pytest-timeout-0.4.tar.gz) = d5900aaa94af5cb2d06ed806b1e636255e65a8a26eccecccd2b9a9d6123d50d5 +SIZE (pytest-timeout-0.4.tar.gz) = 10204 Index: py-pytest-timeout/pkg-descr =================================================================== --- py-pytest-timeout/pkg-descr +++ py-pytest-timeout/pkg-descr @@ -0,0 +1,6 @@ +This is a plugin which will terminate tests after a certain timeout. +When doing so it will show a stack dump of all threads running at the +time. This is useful when running tests under a continuous integration +server or simply if you don't know why the test suite hangs. + +WWW: https://bitbucket.org/flub/pytest-timeout