# Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= pytest-xdist PORTVERSION= 1.13.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Py.test plugin for distributed testing and loop-on-failing modes LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}execnet>=1.1:sysutils/py-execnet \ ${PYTHON_PKGNAMEPREFIX}pytest>=2.4.2:devel/py-pytest \ ${PYTHON_PKGNAMEPREFIX}py>=1.4.22:devel/py-py TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.5.1:devel/py-pytest \ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-extract: ${RM} -r ${WRKSRC}/testing/__pycache__ do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) .include