[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/18: gnu: Add python-pytest-xdist.
From: |
Christopher Allan Webber |
Subject: |
04/18: gnu: Add python-pytest-xdist. |
Date: |
Sat, 20 Feb 2016 02:51:52 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit 5930defefa4c7966afd1c20f66d22c8b95bf024f
Author: Christopher Allan Webber <address@hidden>
Date: Sat Feb 13 18:11:47 2016 -0800
gnu: Add python-pytest-xdist.
* gnu/packages/python.scm (python-pytest-xdist, python2-pytest-xdist):
New variables.
---
gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a5d42f5..a6823bc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1665,6 +1665,42 @@ supports coverage of subprocesses.")
(define-public python2-pytest-runner
(package-with-python2 python-pytest-runner))
+(define-public python-pytest-xdist
+ (package
+ (name "python-pytest-xdist")
+ (version "1.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-xdist" version ".zip"))
+ (sha256
+ (base32
+ "08rn2l39ds60xshs4js787l84pfckksqklfq2wq9x8ig2aci2pja"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("unzip" ,unzip)))
+ (propagated-inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-execnet" ,python-execnet)
+ ("python-pytest" ,python-pytest)
+ ("python-py" ,python-py)))
+ (home-page
+ "https://github.com/pytest-dev/pytest-xdist")
+ (synopsis
+ "Plugin for py.test with distributed testing and loop-on-failing modes")
+ (description
+ "The pytest-xdist plugin extends py.test with some unique test execution
+modes: parallelization, running tests in boxed subprocesses, the ability
+to run tests repeatedly when failed, and the ability to run tests on multiple
+Python interpreters or platforms. It uses rsync to copy the existing
+program code to a remote location, executes there, and then syncs the
+result back.")
+ (license license:expat)))
+
+(define-public python2-pytest-xdist
+ (package-with-python2 python-pytest-xdist))
+
(define-public python-scripttest
(package
(name "python-scripttest")
- branch wip-mediagoblin created (now b2f993c), Christopher Allan Webber, 2016/02/19
- 01/18: gnu: Add python-alembic., Christopher Allan Webber, 2016/02/19
- 02/18: gnu: Add python2-apipkg., Christopher Allan Webber, 2016/02/19
- 03/18: gnu: Add python2-execnet., Christopher Allan Webber, 2016/02/19
- 04/18: gnu: Add python-pytest-xdist.,
Christopher Allan Webber <=
- 05/18: gnu: Add python-beautifulsoup4, Christopher Allan Webber, 2016/02/19
- 06/18: gnu: Add python-waitress., Christopher Allan Webber, 2016/02/19
- 07/18: gnu: Add python-wsgiproxy2., Christopher Allan Webber, 2016/02/19
- 08/18: gnu: Add python-pastedeploy., Christopher Allan Webber, 2016/02/19
- 09/18: gnu: Add python-pyquery., Christopher Allan Webber, 2016/02/19
- 10/18: gnu: Add python-webtest., Christopher Allan Webber, 2016/02/19
- 11/18: gnu: Add python-anyjson., Christopher Allan Webber, 2016/02/19
- 12/18: gnu: Add python-amqp., Christopher Allan Webber, 2016/02/19
- 13/18: gnu: Add python-kombu., Christopher Allan Webber, 2016/02/19
- 14/18: gnu: Add python-billiard., Christopher Allan Webber, 2016/02/19