mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-tldr: Update to 3.1.0.
* gnu/packages/python-xyz.scm (python-tldr): Update to 3.1.0. [phases]: Add phase to build docs. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
29c9317808
commit
1ffee0cf98
1 changed files with 7 additions and 4 deletions
|
@ -23982,7 +23982,7 @@ Public Suffix List's private domains as well.")
|
||||||
(define-public python-tldr
|
(define-public python-tldr
|
||||||
(package
|
(package
|
||||||
(name "python-tldr")
|
(name "python-tldr")
|
||||||
(version "1.2.1")
|
(version "3.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; There's no test in PyPI.
|
;; There's no test in PyPI.
|
||||||
|
@ -23992,20 +23992,23 @@ Public Suffix List's private domains as well.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0n9wqvjxspm18vlxf9j9slrcydshk4rkv5nwkrqhfq606n6zvks4"))))
|
(base32 "1hxmprqg8c4cvs19n7f80f3y7jj74i8sc2dmq2gdjmsdrb54bbzc"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'build 'build-doc
|
||||||
|
(lambda _
|
||||||
|
(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))
|
(list python-pytest python-pytest-runner python-sphinx-argparse))
|
||||||
(inputs
|
(inputs
|
||||||
(list python-argcomplete python-colorama python-termcolor))
|
(list python-argcomplete python-colorama python-termcolor python-shtab))
|
||||||
(home-page "https://github.com/tldr-pages/tldr-python-client")
|
(home-page "https://github.com/tldr-pages/tldr-python-client")
|
||||||
(synopsis "Python command-line client for tldr pages")
|
(synopsis "Python command-line client for tldr pages")
|
||||||
(description "This package provides the @code{tldr} command allowing users
|
(description "This package provides the @code{tldr} command allowing users
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue