[Differential] [Updated, 30 lines] D2600: [new port] devel/py-pytest-timeout
loader (loader)
phabric-noreply at FreeBSD.org
Thu May 21 04:06:43 UTC 2015
loader updated this revision to Diff 5515.
loader added a comment.
Thanks Kubilay. I've updated patch.
REPOSITORY
rP FreeBSD ports repository
CHANGES SINCE LAST UPDATE
https://reviews.freebsd.org/D2600?vs=5510&id=5515
REVISION DETAIL
https://reviews.freebsd.org/D2600
AFFECTED FILES
Makefile
py-pytest-timeout/Makefile
py-pytest-timeout/distinfo
py-pytest-timeout/pkg-descr
CHANGE DETAILS
diff --git a/py-pytest-timeout/pkg-descr b/py-pytest-timeout/pkg-descr
--- a/py-pytest-timeout/pkg-descr
+++ b/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
diff --git a/py-pytest-timeout/distinfo b/py-pytest-timeout/distinfo
--- a/py-pytest-timeout/distinfo
+++ b/py-pytest-timeout/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pytest-timeout-0.4.tar.gz) = d5900aaa94af5cb2d06ed806b1e636255e65a8a26eccecccd2b9a9d6123d50d5
+SIZE (pytest-timeout-0.4.tar.gz) = 10204
diff --git a/py-pytest-timeout/Makefile b/py-pytest-timeout/Makefile
--- a/py-pytest-timeout/Makefile
+++ b/py-pytest-timeout/Makefile
@@ -0,0 +1,21 @@
+# Created by: loader <loader at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pytest-timeout
+PORTVERSION= 0.4
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= loader at 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 <bsd.port.mk>
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/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
EMAIL PREFERENCES
https://reviews.freebsd.org/settings/panel/emailpreferences/
To: loader, koobs
Cc: freebsd-python
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2600.5515.patch
Type: text/x-patch
Size: 1701 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-python/attachments/20150521/47eff81e/attachment.bin>
More information about the freebsd-python
mailing list