~ruther/guix-local

97be1bc23128cf42c49867d984c43f6fea3820d6 — Marius Bakke 9 years ago 3fe2c20
gnu: python-click: Fix tests.

* gnu/packages/python.scm (python-click, python2-click)[arguments]: Replace
'check' with custom phase.
[native-inputs]: Add python-pytest.
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/python.scm
M gnu/packages/python.scm => gnu/packages/python.scm +6 -1
@@ 2301,7 2301,12 @@ is used by the Requests library to verify HTTPS requests.")
               (substitute* "click/_unicodefun.py"
                 (("'locale'")
                  (string-append "'" glibc "/bin/locale'"))))
             #t)))))
             #t))
         (replace 'check
           (lambda _
             (zero? (system* "make" "test")))))))
    (native-inputs
     `(("python-pytest" ,python-pytest)))
    (home-page "http://click.pocoo.org")
    (synopsis "Command line library for Python")
    (description