guix-commits
[Top][All Lists]
Advanced

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

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


From: Leo Famulari
Subject: 01/11: gnu: python-virtualenv: Disable tests.
Date: Tue, 12 Jul 2016 22:27:08 +0000 (UTC)

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

commit 3387fbde23d57e3934edf6dec33e5d39584f1215
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]