mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: python-tldr: Use g-exp.
* gnu/packages/python-xyz.scm (python-tldr)[arguments]: Rewrite with (guix gexp). Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
1ffee0cf98
commit
bb03318a59
1 changed files with 10 additions and 10 deletions
|
@ -23995,16 +23995,16 @@ (define-public python-tldr
|
|||
(base32 "1hxmprqg8c4cvs19n7f80f3y7jj74i8sc2dmq2gdjmsdrb54bbzc"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'build 'build-doc
|
||||
(lambda _
|
||||
(invoke "make" "-C" "docs")))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
;; This test fails. It tries to open a network socket.
|
||||
(invoke "pytest" "-vv" "-k" "not test_error_message")))))))
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'build 'build-doc
|
||||
(lambda _
|
||||
(invoke "make" "-C" "docs")))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
;; This test fails. It tries to open a network socket.
|
||||
(invoke "pytest" "-vv" "-k" "not test_error_message")))))))
|
||||
(native-inputs
|
||||
(list python-pytest python-pytest-runner python-sphinx-argparse))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue