summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2019-06-25 12:03:34 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-06-26 16:24:58 +0200
commit05b3dcbe32cdf62bbe5d04d16297bcd38d0d7377 (patch)
tree0225c98df220d7a03a8893ad92949abf37dd1440
parent7d5ffecba54c08e0fd5a492b3da67d184eb78aa9 (diff)
gnu: Add python-pytest-virtualenv.
* gnu/packages/python-check.scm (python-pytest-virtualenv): New variable.
-rw-r--r--gnu/packages/python-check.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 70140ded69..676dae5430 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -213,3 +213,30 @@ py.test testing framework.")
"This package provides fixture configuration utilities for the py.test
testing framework.")
(license license:expat)))
+
+(define-public python-pytest-virtualenv
+ (package
+ (name "python-pytest-virtualenv")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-virtualenv" version))
+ (sha256
+ (base32
+ "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #f)) ; one test fails; can't find virtualenv
+ (propagated-inputs
+ `(("python-virtualenv" ,python-virtualenv)
+ ("python-pytest-shutil" ,python-pytest-shutil)
+ ("python-pytest-fixture-config" ,python-pytest-fixture-config)))
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-pytest" ,python-pytest)
+ ("python-setuptools-git" ,python-setuptools-git)))
+ (home-page "https://github.com/manahl/pytest-plugins")
+ (synopsis "Virtualenv fixture for py.test")
+ (description "This package provides a virtualenv fixture for the py.test
+framework.")
+ (license license:expat)))