Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2015 07:15:57 +0000 (UTC)
From:      Fukang Chen <loader@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386987 - in head/devel: . py-pytest-timeout
Message-ID:  <201505220715.t4M7FvPO039172@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loader (doc committer)
Date: Fri May 22 07:15:56 2015
New Revision: 386987
URL: https://svnweb.freebsd.org/changeset/ports/386987

Log:
  Add new port devel/py-pytest-timeout
  
  PR:             200145
  Submitted by:   loader@
  Approved by:    koobs@

Added:
  head/devel/py-pytest-timeout/
  head/devel/py-pytest-timeout/Makefile   (contents, props changed)
  head/devel/py-pytest-timeout/distinfo   (contents, props changed)
  head/devel/py-pytest-timeout/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri May 22 07:10:00 2015	(r386986)
+++ head/devel/Makefile	Fri May 22 07:15:56 2015	(r386987)
@@ -4029,6 +4029,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

Added: head/devel/py-pytest-timeout/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-timeout/Makefile	Fri May 22 07:15:56 2015	(r386987)
@@ -0,0 +1,21 @@
+# Created by: loader <loader@FreeBSD.org>
+# $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 <bsd.port.mk>

Added: head/devel/py-pytest-timeout/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-timeout/distinfo	Fri May 22 07:15:56 2015	(r386987)
@@ -0,0 +1,2 @@
+SHA256 (pytest-timeout-0.4.tar.gz) = d5900aaa94af5cb2d06ed806b1e636255e65a8a26eccecccd2b9a9d6123d50d5
+SIZE (pytest-timeout-0.4.tar.gz) = 10204

Added: head/devel/py-pytest-timeout/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-timeout/pkg-descr	Fri May 22 07:15:56 2015	(r386987)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505220715.t4M7FvPO039172>