* [bug#55472] Update python-tldr
@ 2022-05-17 3:03 kiasoc5--- via Guix-patches via
2022-05-24 14:37 ` bug#55472: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: kiasoc5--- via Guix-patches via @ 2022-05-17 3:03 UTC (permalink / raw)
To: 55472
From 71636bda1f6db3e0b56a8740eb9c96fa4bc1f284 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@disroot.org>
Date: Mon, 16 May 2022 22:51:53 -0400
Subject: [PATCH 1/2] 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.
---
gnu/packages/python-xyz.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5de654a585..c9b700221b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22776,7 +22776,7 @@ (define-public python2-tldextract
(define-public python-tldr
(package
(name "python-tldr")
- (version "1.2.1")
+ (version "3.1.0")
(source
(origin
;; There's no test in PyPI.
@@ -22786,20 +22786,23 @@ (define-public python-tldr
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0n9wqvjxspm18vlxf9j9slrcydshk4rkv5nwkrqhfq606n6zvks4"))))
+ (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")))))))
(native-inputs
- (list python-pytest python-pytest-runner))
+ (list python-pytest python-pytest-runner python-sphinx-argparse))
(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")
(synopsis "Python command-line client for tldr pages")
(description "This package provides the @code{tldr} command allowing users
--
2.36.1
From 7e1821dc97567bacee2d478379c1772af4572aa8 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@disroot.org>
Date: Mon, 16 May 2022 22:57:39 -0400
Subject: [PATCH 2/2] gnu: python-tldr: Use g-exp.
* gnu/packages/python-xyz.scm (python-tldr)[arguments]: Rewrite with (guix gexp).
---
gnu/packages/python-xyz.scm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c9b700221b..f122b86a55 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22789,16 +22789,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
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#55472: Update python-tldr
2022-05-17 3:03 [bug#55472] Update python-tldr kiasoc5--- via Guix-patches via
@ 2022-05-24 14:37 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-05-24 14:37 UTC (permalink / raw)
To: kiasoc5; +Cc: 55472-done
Hi,
kiasoc5@disroot.org skribis:
>>From 71636bda1f6db3e0b56a8740eb9c96fa4bc1f284 Mon Sep 17 00:00:00 2001
> From: kiasoc5 <kiasoc5@disroot.org>
> Date: Mon, 16 May 2022 22:51:53 -0400
> Subject: [PATCH 1/2] 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.
[...]
> From 7e1821dc97567bacee2d478379c1772af4572aa8 Mon Sep 17 00:00:00 2001
> From: kiasoc5 <kiasoc5@disroot.org>
> Date: Mon, 16 May 2022 22:57:39 -0400
> Subject: [PATCH 2/2] gnu: python-tldr: Use g-exp.
>
> * gnu/packages/python-xyz.scm (python-tldr)[arguments]: Rewrite with (guix gexp).
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-24 14:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-17 3:03 [bug#55472] Update python-tldr kiasoc5--- via Guix-patches via
2022-05-24 14:37 ` bug#55472: " Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.