gnu: python-click: Fix tests.

* gnu/packages/python.scm (python-click, python2-click)[arguments]: Replace
'check' with custom phase.
[native-inputs]: Add python-pytest.
This commit is contained in:
Marius Bakke 2016-12-13 18:51:01 +01:00 committed by Leo Famulari
parent 3fe2c209e0
commit 97be1bc231
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 6 additions and 1 deletions

View File

@ -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