Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2015 04:06:42 +0000
From:      "loader (loader)" <phabric-noreply@FreeBSD.org>
To:        freebsd-python@freebsd.org
Subject:   [Differential] [Updated, 30 lines] D2600: [new port] devel/py-pytest-timeout
Message-ID:  <1ca8e5f354b009c05eb62c8715c644f7@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-j3os7l6u7bfjj3gnkw3c-req@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@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>
  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

[-- Attachment #2 --]
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@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>
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

home | help

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