guix-devel
[Top][All Lists]
Advanced

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

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


From: Leo Famulari
Subject: [PATCH 1/6] gnu: python-virtualenv: Disable tests.
Date: Sat, 2 Jul 2016 21:10:13 -0400

* 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 --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
-- 
2.9.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]