[Top][All Lists]

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

01/01: gnu: python-colorspacious: Run tests.

From: Marius Bakke
Subject: 01/01: gnu: python-colorspacious: Run tests.
Date: Mon, 6 Mar 2017 17:51:56 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit ba062b3ec4367919daf3ad458b88b710042fc678
Author: Thomas Danckaert <address@hidden>
Date:   Mon Mar 6 15:33:34 2017 +0100

    gnu: python-colorspacious: Run tests.
    * gnu/packages/python.scm (python-colorspacious,
    python2-colorspacious)[native-inputs]: Add python-nose.
    [arguments]: Add custom 'check phase which runs nosetests.
    Signed-off-by: Marius Bakke <address@hidden>
 gnu/packages/python.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 876ce90..a271ad4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3837,6 +3837,14 @@ To address this and enable easy cycling over arbitrary 
@code{kwargs}, the
     (build-system python-build-system)
      `(("python-numpy" ,python-numpy)))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (zero? (system* "nosetests" "--all-modules" "-v" 
     (home-page "";)
     (synopsis "Python library for colorspace conversions")
     (description "@code{colorspacious} is a Python library that lets you

reply via email to

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