guix-commits
[Top][All Lists]
Advanced

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

05/18: gnu: python-meshio: Remove trailing booleans.


From: guix-commits
Subject: 05/18: gnu: python-meshio: Remove trailing booleans.
Date: Mon, 23 May 2022 10:26:08 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit c76ba2766237af97e6b4bbe32c9b0d0d0b7c7152
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Mon May 2 21:16:49 2022 +0000

    gnu: python-meshio: Remove trailing booleans.
    
    * gnu/packages/simulation.scm (python-meshio)[snippet]: Remove trailing
    boolean (and therefore the 'begin').
    [arguments]: Remove trailing boolean.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/simulation.scm | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 03d8517168..cbd4a1d3e7 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -785,11 +785,9 @@ river flooding.")
           (base32
            "0kv832s2vyff30zz8yqypw5jifwdanvh5x56d2bzkvy94h4jlddy"))
         (snippet
-         '(begin
-            (let ((file (open-file "setup.py" "a")))
-              (display "from setuptools import setup\nsetup()" file)
-              (close-port file))
-            #t))))
+         '(let ((file (open-file "setup.py" "a")))
+            (display "from setuptools import setup\nsetup()" file)
+            (close-port file)))))
     (build-system python-build-system)
     (inputs
      (list python-h5py
@@ -805,8 +803,7 @@ river flooding.")
          (replace 'check
            (lambda* (#:key outputs inputs #:allow-other-keys)
              (add-installed-pythonpath inputs outputs)
-             (invoke "python" "-m" "pytest" "-v" "tests")
-             #t)))))
+             (invoke "python" "-m" "pytest" "-v" "tests"))))))
     (home-page "https://github.com/nschloe/meshio";)
     (synopsis "I/O for mesh files")
     (description "There are various file formats available for



reply via email to

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