diff mbox

[1/6] gnu: python-virtualenv: Disable tests.

Message ID 09b3fe5773156b8cdba508efad7140238616ff48.1467508169.git.leo@famulari.name
State New
Headers show

Commit Message

Leo Famulari July 3, 2016, 1:10 a.m. UTC
* gnu/packages/python.scm (python-virtualenv, python2-virtualenv)
[arguments]: Disable tests.
[inputs]: Remove python-mock, python-pytest.
---
 gnu/packages/python.scm | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
diff mbox

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 597ca6a..d646d94 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2483,14 +2483,9 @@  object.")
          "1p732accxwqfjbdna39k8w8lp9gyw91vr4kzkhm8mgfxikqqxg5a"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-        (replace 'check
-         (lambda _ (zero? (system* "py.test")))))))
+     `(#:tests? #f)) ; Tests are not included in the PyPi release.
     (inputs
-     `(("python-setuptools" ,python-setuptools)
-       ("python-mock" ,python-mock)
-       ("python-pytest" ,python-pytest)))
+     `(("python-setuptools" ,python-setuptools)))
     (home-page "https://virtualenv.pypa.io/")
     (synopsis "Virtual Python environment builder")
     (description