guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/12: gnu: python-tldr: Use g-exp.


From: guix-commits
Subject: 08/12: gnu: python-tldr: Use g-exp.
Date: Tue, 24 May 2022 11:21:52 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit bb03318a59560e0e7c8f66fa55b48cc030a787f7
Author: kiasoc5 <kiasoc5@disroot.org>
AuthorDate: Mon May 16 22:57:39 2022 -0400

    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>
---
 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 ddb7e9b0bb..0148f482fc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23995,16 +23995,16 @@ Public Suffix List's private domains as well.")
         (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]