GNU bug report logs -
#55472
Update python-tldr
Previous Next
Reported by: kiasoc5 <at> disroot.org
Date: Tue, 17 May 2022 03:04:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55472 in the body.
You can then email your comments to 55472 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#55472
; Package
guix-patches
.
(Tue, 17 May 2022 03:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
kiasoc5 <at> disroot.org
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 17 May 2022 03:04:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From 71636bda1f6db3e0b56a8740eb9c96fa4bc1f284 Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5 <at> 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 <at> 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
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Tue, 24 May 2022 14:38:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
kiasoc5 <at> disroot.org
:
bug acknowledged by developer.
(Tue, 24 May 2022 14:38:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 55472-done <at> debbugs.gnu.org (full text, mbox):
Hi,
kiasoc5 <at> disroot.org skribis:
>>From 71636bda1f6db3e0b56a8740eb9c96fa4bc1f284 Mon Sep 17 00:00:00 2001
> From: kiasoc5 <kiasoc5 <at> 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 <at> 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’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 22 Jun 2022 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 280 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.