diff options
| author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2019-06-25 12:03:34 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2019-06-26 16:24:58 +0200 |
| commit | 05b3dcbe32cdf62bbe5d04d16297bcd38d0d7377 (patch) | |
| tree | 0225c98df220d7a03a8893ad92949abf37dd1440 /gnu/packages/python-check.scm | |
| parent | 7d5ffecba54c08e0fd5a492b3da67d184eb78aa9 (diff) | |
gnu: Add python-pytest-virtualenv.
* gnu/packages/python-check.scm (python-pytest-virtualenv): New variable.
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 70140ded696..676dae54304 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -213,3 +213,30 @@ py.test testing framework.") | |||
| 213 | "This package provides fixture configuration utilities for the py.test | 213 | "This package provides fixture configuration utilities for the py.test |
| 214 | testing framework.") | 214 | testing framework.") |
| 215 | (license license:expat))) | 215 | (license license:expat))) |
| 216 | |||
| 217 | (define-public python-pytest-virtualenv | ||
| 218 | (package | ||
| 219 | (name "python-pytest-virtualenv") | ||
| 220 | (version "1.7.0") | ||
| 221 | (source | ||
| 222 | (origin | ||
| 223 | (method url-fetch) | ||
| 224 | (uri (pypi-uri "pytest-virtualenv" version)) | ||
| 225 | (sha256 | ||
| 226 | (base32 | ||
| 227 | "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12")))) | ||
| 228 | (build-system python-build-system) | ||
| 229 | (arguments '(#:tests? #f)) ; one test fails; can't find virtualenv | ||
| 230 | (propagated-inputs | ||
| 231 | `(("python-virtualenv" ,python-virtualenv) | ||
| 232 | ("python-pytest-shutil" ,python-pytest-shutil) | ||
| 233 | ("python-pytest-fixture-config" ,python-pytest-fixture-config))) | ||
| 234 | (native-inputs | ||
| 235 | `(("python-mock" ,python-mock) | ||
| 236 | ("python-pytest" ,python-pytest) | ||
| 237 | ("python-setuptools-git" ,python-setuptools-git))) | ||
| 238 | (home-page "https://github.com/manahl/pytest-plugins") | ||
| 239 | (synopsis "Virtualenv fixture for py.test") | ||
| 240 | (description "This package provides a virtualenv fixture for the py.test | ||
| 241 | framework.") | ||
| 242 | (license license:expat))) | ||
