pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-test-xdist



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 29 10:38:43 UTC 2017

Added Files:
        pkgsrc/devel/py-test-xdist: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-xdist/DESCR \
    pkgsrc/devel/py-test-xdist/Makefile pkgsrc/devel/py-test-xdist/PLIST \
    pkgsrc/devel/py-test-xdist/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-test-xdist/DESCR
diff -u /dev/null pkgsrc/devel/py-test-xdist/DESCR:1.1
--- /dev/null   Mon May 29 10:38:43 2017
+++ pkgsrc/devel/py-test-xdist/DESCR    Mon May 29 10:38:43 2017
@@ -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.
Index: pkgsrc/devel/py-test-xdist/Makefile
diff -u /dev/null pkgsrc/devel/py-test-xdist/Makefile:1.1
--- /dev/null   Mon May 29 10:38:43 2017
+++ pkgsrc/devel/py-test-xdist/Makefile Mon May 29 10:38:43 2017
@@ -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@localhost
+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"
Index: pkgsrc/devel/py-test-xdist/PLIST
diff -u /dev/null pkgsrc/devel/py-test-xdist/PLIST:1.1
--- /dev/null   Mon May 29 10:38:43 2017
+++ pkgsrc/devel/py-test-xdist/PLIST    Mon May 29 10:38:43 2017
@@ -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
Index: pkgsrc/devel/py-test-xdist/distinfo
diff -u /dev/null pkgsrc/devel/py-test-xdist/distinfo:1.1
--- /dev/null   Mon May 29 10:38:43 2017
+++ pkgsrc/devel/py-test-xdist/distinfo Mon May 29 10:38:43 2017
@@ -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



Home | Main Index | Thread Index | Old Index