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>
parent
1ffee0cf98
commit
bb03318a59
|
@ -23995,16 +23995,16 @@ Public Suffix List's private domains as well.")
|
||||||
(base32 "1hxmprqg8c4cvs19n7f80f3y7jj74i8sc2dmq2gdjmsdrb54bbzc"))))
|
(base32 "1hxmprqg8c4cvs19n7f80f3y7jj74i8sc2dmq2gdjmsdrb54bbzc"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list #:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'build 'build-doc
|
(add-after 'build 'build-doc
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "make" "-C" "docs")))
|
(invoke "make" "-C" "docs")))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
;; This test fails. It tries to open a network socket.
|
;; This test fails. It tries to open a network socket.
|
||||||
(invoke "pytest" "-vv" "-k" "not test_error_message")))))))
|
(invoke "pytest" "-vv" "-k" "not test_error_message")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest python-pytest-runner python-sphinx-argparse))
|
(list python-pytest python-pytest-runner python-sphinx-argparse))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in New Issue