forked from Lainports/freebsd-ports
Experimental py.test plugin for managing processes across test runs. WWW: https://github.com/pytest-dev/pytest-xprocess Reviewed by: koobs Approved by: koobs (mentor) Differential Revision: https://reviews.freebsd.org/D17313
30 lines
739 B
Makefile
30 lines
739 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pytest-xprocess
|
|
PORTVERSION= 0.12.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= loader@FreeBSD.org
|
|
COMMENT= Pytest plugin to manage external processes across test runs
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.3.5:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-cache>0:devel/py-pytest-cache@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
post-extract:
|
|
${RM} -r ${WRKSRC}/example/__pycache__
|
|
|
|
do-test:
|
|
@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest
|
|
|
|
.include <bsd.port.mk>
|