Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -4952,6 +4952,7 @@ SUBDIR += py-pytest-timeout SUBDIR += py-pytest-tornado SUBDIR += py-pytest-xdist + SUBDIR += py-pytest-xprocess SUBDIR += py-python-Levenshtein SUBDIR += py-python-bugzilla SUBDIR += py-python-distutils-extra Index: head/devel/py-pytest-xprocess/Makefile =================================================================== --- head/devel/py-pytest-xprocess/Makefile +++ head/devel/py-pytest-xprocess/Makefile @@ -0,0 +1,30 @@ +# $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 Index: head/devel/py-pytest-xprocess/distinfo =================================================================== --- head/devel/py-pytest-xprocess/distinfo +++ head/devel/py-pytest-xprocess/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1537860840 +SHA256 (pytest-xprocess-0.12.1.tar.gz) = 50e0d00d898a867cf2af75168a8bf6d23d582365f8765b73dfc0430d1e53821b +SIZE (pytest-xprocess-0.12.1.tar.gz) = 12078 Index: head/devel/py-pytest-xprocess/pkg-descr =================================================================== --- head/devel/py-pytest-xprocess/pkg-descr +++ head/devel/py-pytest-xprocess/pkg-descr @@ -0,0 +1,3 @@ +Experimental py.test plugin for managing processes across test runs. + +WWW: https://github.com/pytest-dev/pytest-xprocess