Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2019 13:38:20 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501657 - in head/devel: . py-pytest-forked
Message-ID:  <201905141338.x4EDcK45054653@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Tue May 14 13:38:20 2019
New Revision: 501657
URL: https://svnweb.freebsd.org/changeset/ports/501657

Log:
  [NEW PORT] devel/py-pytest-forked: Run tests in isolated forked subprocesses
  
  pytest plugin to run each test in a forked subprocess. This is an
  extraction of the xdist --forked module.
  
  WWW: https://github.com/pytest-dev/pytest-forked

Added:
  head/devel/py-pytest-forked/
  head/devel/py-pytest-forked/Makefile   (contents, props changed)
  head/devel/py-pytest-forked/distinfo   (contents, props changed)
  head/devel/py-pytest-forked/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue May 14 13:33:33 2019	(r501656)
+++ head/devel/Makefile	Tue May 14 13:38:20 2019	(r501657)
@@ -4781,6 +4781,7 @@
     SUBDIR += py-pytest-django
     SUBDIR += py-pytest-flake8
     SUBDIR += py-pytest-flakes
+    SUBDIR += py-pytest-forked
     SUBDIR += py-pytest-helpers-namespace
     SUBDIR += py-pytest-localserver
     SUBDIR += py-pytest-mock

Added: head/devel/py-pytest-forked/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-forked/Makefile	Tue May 14 13:38:20 2019	(r501657)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	pytest-forked
+PORTVERSION=	1.0.2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	koobs@FreeBSD.org
+COMMENT=	Run tests in isolated forked subprocesses
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.1.0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+
+.include <bsd.port.mk>

Added: head/devel/py-pytest-forked/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-forked/distinfo	Tue May 14 13:38:20 2019	(r501657)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1557840428
+SHA256 (pytest-forked-1.0.2.tar.gz) = d352aaced2ebd54d42a65825722cb433004b4446ab5d2044851d9cc7a00c9e38
+SIZE (pytest-forked-1.0.2.tar.gz) = 6809

Added: head/devel/py-pytest-forked/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pytest-forked/pkg-descr	Tue May 14 13:38:20 2019	(r501657)
@@ -0,0 +1,4 @@
+pytest plugin to run each test in a forked subprocess. This is an
+extraction of the xdist --forked module.
+
+WWW: https://github.com/pytest-dev/pytest-forked



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905141338.x4EDcK45054653>