diff options
author | loader <loader@FreeBSD.org> | 2017-06-23 14:01:54 +0800 |
---|---|---|
committer | loader <loader@FreeBSD.org> | 2017-06-23 14:01:54 +0800 |
commit | 7f833c1bcc5d2ce4e8c95ec89d3193e9ed4be47b (patch) | |
tree | d674ce00498b0c5c3798063c827d8b82fc532656 | |
parent | 358834cf9bdbcb8d0d905f63a6e1e564c04c293c (diff) | |
download | freebsd-ports-gnome-7f833c1bcc5d2ce4e8c95ec89d3193e9ed4be47b.tar.gz freebsd-ports-gnome-7f833c1bcc5d2ce4e8c95ec89d3193e9ed4be47b.tar.zst freebsd-ports-gnome-7f833c1bcc5d2ce4e8c95ec89d3193e9ed4be47b.zip |
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
-rw-r--r-- | devel/py-pytest-timeout/Makefile | 13 | ||||
-rw-r--r-- | devel/py-pytest-timeout/distinfo | 5 |
2 files changed, 13 insertions, 5 deletions
diff --git a/devel/py-pytest-timeout/Makefile b/devel/py-pytest-timeout/Makefile index 35a9144ae271..4bcb30745bf3 100644 --- a/devel/py-pytest-timeout/Makefile +++ b/devel/py-pytest-timeout/Makefile @@ -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> diff --git a/devel/py-pytest-timeout/distinfo b/devel/py-pytest-timeout/distinfo index a5b4bbe3bd3a..dc5c3793a19e 100644 --- a/devel/py-pytest-timeout/distinfo +++ b/devel/py-pytest-timeout/distinfo @@ -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 |