mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
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:
parent
3fe2c209e0
commit
97be1bc231
1 changed files with 6 additions and 1 deletions
|
@ -2301,7 +2301,12 @@ (define-public python-click
|
||||||
(substitute* "click/_unicodefun.py"
|
(substitute* "click/_unicodefun.py"
|
||||||
(("'locale'")
|
(("'locale'")
|
||||||
(string-append "'" glibc "/bin/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")
|
(home-page "http://click.pocoo.org")
|
||||||
(synopsis "Command line library for Python")
|
(synopsis "Command line library for Python")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue