ports/devel/py-pytest-timeout/Makefile
Fukang Chen ae236a1fea devel/py-pytest-timeout: Update to 1.3.1
Changelog:
  17415e95a8 (chg-README)

- Update PORTVERSION and distinfo checksum to 1.3.1
- Add a patch to fix build with Python 3.x in the C locale [0]

[0] https://bitbucket.org/pytest-dev/pytest-timeout/pull-requests/15/use-utf-8-encoding-to-open-the-readme-file/

Reviewed by:	koobs
Approved by:	koobs (mentor)
Differential Revision:	https://reviews.freebsd.org/D16567
2018-08-05 07:31:12 +00:00

29 lines
746 B
Makefile

# Created by: Fukang Chen <loader@FreeBSD.org>
# $FreeBSD$
PORTNAME= pytest-timeout
PORTVERSION= 1.3.1
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>=3.6.0:devel/py-pytest@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.6.0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}
NO_ARCH= yes
USES= python
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>