~ruther/guix-local

ba062b3ec4367919daf3ad458b88b710042fc678 — Thomas Danckaert 9 years ago 46d6219
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 <mbakke@fastmail.com>
1 files changed, 8 insertions(+), 0 deletions(-)

M gnu/packages/python.scm
M gnu/packages/python.scm => gnu/packages/python.scm +8 -0
@@ 3837,6 3837,14 @@ To address this and enable easy cycling over arbitrary @code{kwargs}, the
    (build-system python-build-system)
    (propagated-inputs
     `(("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" "colorspacious")))))))
    (home-page "https://github.com/njsmith/colorspacious")
    (synopsis "Python library for colorspace conversions")
    (description "@code{colorspacious} is a Python library that lets you