svn commit: r480714 - in head/devel: . py-pytest-xprocess
Fukang Chen
loader at FreeBSD.org
Wed Sep 26 04:25:42 UTC 2018
Author: loader
Date: Wed Sep 26 04:25:40 2018
New Revision: 480714
URL: https://svnweb.freebsd.org/changeset/ports/480714
Log:
[NEW PORT]: devel/py-pytest-xprocess: Pytest plugin to manage external processes across test runs
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
Added:
head/devel/py-pytest-xprocess/
head/devel/py-pytest-xprocess/Makefile (contents, props changed)
head/devel/py-pytest-xprocess/distinfo (contents, props changed)
head/devel/py-pytest-xprocess/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Sep 26 03:38:40 2018 (r480713)
+++ head/devel/Makefile Wed Sep 26 04:25:40 2018 (r480714)
@@ -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
Added: head/devel/py-pytest-xprocess/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-xprocess/Makefile Wed Sep 26 04:25:40 2018 (r480714)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= pytest-xprocess
+PORTVERSION= 0.12.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= loader at 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>
Added: head/devel/py-pytest-xprocess/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-xprocess/distinfo Wed Sep 26 04:25:40 2018 (r480714)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537860840
+SHA256 (pytest-xprocess-0.12.1.tar.gz) = 50e0d00d898a867cf2af75168a8bf6d23d582365f8765b73dfc0430d1e53821b
+SIZE (pytest-xprocess-0.12.1.tar.gz) = 12078
Added: head/devel/py-pytest-xprocess/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-xprocess/pkg-descr Wed Sep 26 04:25:40 2018 (r480714)
@@ -0,0 +1,3 @@
+Experimental py.test plugin for managing processes across test runs.
+
+WWW: https://github.com/pytest-dev/pytest-xprocess
More information about the svn-ports-head
mailing list