diff options
-rw-r--r-- | devel/py-test-xdist/DESCR | 12 | ||||
-rw-r--r-- | devel/py-test-xdist/Makefile | 20 | ||||
-rw-r--r-- | devel/py-test-xdist/PLIST | 35 | ||||
-rw-r--r-- | devel/py-test-xdist/distinfo | 6 |
4 files changed, 73 insertions, 0 deletions
diff --git a/devel/py-test-xdist/DESCR b/devel/py-test-xdist/DESCR new file mode 100644 index 00000000000..e5fd0f2f133 --- /dev/null +++ b/devel/py-test-xdist/DESCR @@ -0,0 +1,12 @@ +The pytest-xdist plugin extends py.test with some unique test execution modes: +* test run parallelization: if you have multiple CPUs or hosts you can use + those for a combined test run. This allows to speed up development or to use + special resources of remote machines. +* --boxed: (not available on Windows) run each test in a boxed subprocess to + survive SEGFAULTS or otherwise dying processes +* --looponfail: run your tests repeatedly in a subprocess. After each run + py.test waits until a file in your project changes and then re-runs the + previously failing tests. This is repeated until all tests pass after which + again a full run is performed. +* Multi-Platform coverage: you can specify different Python interpreters or + different platforms and run tests in parallel on all of them. diff --git a/devel/py-test-xdist/Makefile b/devel/py-test-xdist/Makefile new file mode 100644 index 00000000000..773bb03b127 --- /dev/null +++ b/devel/py-test-xdist/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2017/05/29 10:38:43 adam Exp $ + +DISTNAME= pytest-xdist-1.16.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-xdist/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/pytest-dev/pytest-xdist +COMMENT= Plugin for distributed testing and loop-on-failing modes +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-execnet>=1.1:../../devel/py-execnet +DEPENDS+= ${PYPKGPREFIX}-py>=1.4.22:../../devel/py-py +DEPENDS+= ${PYPKGPREFIX}-test>=2.7.0:../../devel/py-test + +USE_LANGUAGES= # none + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-test-xdist/PLIST b/devel/py-test-xdist/PLIST new file mode 100644 index 00000000000..b418134be56 --- /dev/null +++ b/devel/py-test-xdist/PLIST @@ -0,0 +1,35 @@ +@comment $NetBSD: PLIST,v 1.1 2017/05/29 10:38:43 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/xdist/__init__.py +${PYSITELIB}/xdist/__init__.pyc +${PYSITELIB}/xdist/__init__.pyo +${PYSITELIB}/xdist/_version.py +${PYSITELIB}/xdist/_version.pyc +${PYSITELIB}/xdist/_version.pyo +${PYSITELIB}/xdist/boxed.py +${PYSITELIB}/xdist/boxed.pyc +${PYSITELIB}/xdist/boxed.pyo +${PYSITELIB}/xdist/dsession.py +${PYSITELIB}/xdist/dsession.pyc +${PYSITELIB}/xdist/dsession.pyo +${PYSITELIB}/xdist/looponfail.py +${PYSITELIB}/xdist/looponfail.pyc +${PYSITELIB}/xdist/looponfail.pyo +${PYSITELIB}/xdist/newhooks.py +${PYSITELIB}/xdist/newhooks.pyc +${PYSITELIB}/xdist/newhooks.pyo +${PYSITELIB}/xdist/plugin.py +${PYSITELIB}/xdist/plugin.pyc +${PYSITELIB}/xdist/plugin.pyo +${PYSITELIB}/xdist/remote.py +${PYSITELIB}/xdist/remote.pyc +${PYSITELIB}/xdist/remote.pyo +${PYSITELIB}/xdist/slavemanage.py +${PYSITELIB}/xdist/slavemanage.pyc +${PYSITELIB}/xdist/slavemanage.pyo diff --git a/devel/py-test-xdist/distinfo b/devel/py-test-xdist/distinfo new file mode 100644 index 00000000000..19072b79c11 --- /dev/null +++ b/devel/py-test-xdist/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/05/29 10:38:43 adam Exp $ + +SHA1 (pytest-xdist-1.16.0.tar.gz) = 0d631a2b3f8696a1609fce3fb2397fdd6b70da85 +RMD160 (pytest-xdist-1.16.0.tar.gz) = 80edfc36095b748e7fb94a876d6256e24efff9dc +SHA512 (pytest-xdist-1.16.0.tar.gz) = 96811459c43ad2a3625bde98b9047434d7207e1d7170ccfb0a5648f3646b7a1f326b89f146a45ff394223f8276015632f5d2c38fc0e6b7a922eedbca5fe325a7 +Size (pytest-xdist-1.16.0.tar.gz) = 88393 bytes |