guix-commits
[Top][All Lists]
Advanced

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

01/06: gnu: python-virtualenv: Disable tests.


From: Leo Famulari
Subject: 01/06: gnu: python-virtualenv: Disable tests.
Date: Mon, 11 Jul 2016 15:50:01 +0000 (UTC)

lfam pushed a commit to branch python-updates
in repository guix.

commit 1391b949c0332ab8e2172f1b80ab5301220c0003
Author: Leo Famulari <address@hidden>
Date:   Sat Jul 2 02:16:08 2016 -0400

    gnu: python-virtualenv: Disable tests.
    
    * 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 fb86290..3c4ed79 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2485,14 +2485,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



reply via email to

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