Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2017 06:01:54 +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: r444164 - head/devel/py-pytest-timeout
Message-ID:  <201706230601.v5N61sMU051222@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loader (doc committer)
Date: Fri Jun 23 06:01:54 2017
New Revision: 444164
URL: https://svnweb.freebsd.org/changeset/ports/444164

Log:
  devel/py-pytest-timeout: Update to 1.2.0
  
  - Add NO_ARCH
  - Add regression test
  
  Reviewed by:	koobs
  Approved by:	koobs (ports)
  Differential Revision:	https://reviews.freebsd.org/D10676

Modified:
  head/devel/py-pytest-timeout/Makefile
  head/devel/py-pytest-timeout/distinfo

Modified: head/devel/py-pytest-timeout/Makefile
==============================================================================
--- head/devel/py-pytest-timeout/Makefile	Fri Jun 23 04:47:52 2017	(r444163)
+++ head/devel/py-pytest-timeout/Makefile	Fri Jun 23 06:01:54 2017	(r444164)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pytest-timeout
-PORTVERSION=	0.4
+PORTVERSION=	1.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +13,16 @@ COMMENT=	Pytest plugin to abort hanging tests
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}pytest>=2.6.4:devel/py-pytest
+RUN_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}pytest>=2.8.0:devel/py-pytest
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.8.0:devel/py-pytest
 
-USES?=		python
+NO_ARCH=	yes
+
+USES?=		python:2.7+
 USE_PYTHON=	autoplist distutils
+
+TEST_ENV+=	PYTHONPATH=${TEST_WRKSRC}
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
 
 .include <bsd.port.mk>

Modified: head/devel/py-pytest-timeout/distinfo
==============================================================================
--- head/devel/py-pytest-timeout/distinfo	Fri Jun 23 04:47:52 2017	(r444163)
+++ head/devel/py-pytest-timeout/distinfo	Fri Jun 23 06:01:54 2017	(r444164)
@@ -1,2 +1,3 @@
-SHA256 (pytest-timeout-0.4.tar.gz) = d5900aaa94af5cb2d06ed806b1e636255e65a8a26eccecccd2b9a9d6123d50d5
-SIZE (pytest-timeout-0.4.tar.gz) = 10204
+TIMESTAMP = 1494402704
+SHA256 (pytest-timeout-1.2.0.tar.gz) = c29e3168f10897728059bd6b8ca20b28733d7fe6b8f6c09bb9d89f6146f27cb8
+SIZE (pytest-timeout-1.2.0.tar.gz) = 13258



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