1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

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
This commit is contained in:
Fukang Chen 2017-06-23 06:01:54 +00:00
parent 3c47dc8da7
commit 61e3bf769a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444164
2 changed files with 13 additions and 5 deletions

View File

@ -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>

View File

@ -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