guix-patches
[Top][All Lists]
Advanced

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

[bug#55060] [PATCH v3 2/6] gnu: python-meshio: Remove trailing booleans.


From: Paul A. Patience
Subject: [bug#55060] [PATCH v3 2/6] gnu: python-meshio: Remove trailing booleans.
Date: Mon, 25 Apr 2022 17:55:38 +0000

* gnu/packages/simulation.scm (python-meshio)[snippet]: Remove trailing
boolean (and therefore the 'begin').
[arguments]: Remove trailing boolean.
---
 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 c8309761d2..42383bf486 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -782,11 +782,9 @@ (define-public python-meshio
           (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
@@ -802,8 +800,7 @@ (define-public python-meshio
          (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
--
2.35.1







reply via email to

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