guix-patches
[Top][All Lists]
Advanced

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

[bug#63542] [PATCH v2 12/20] gnu: python-astroquery: Use Gexp.


From: Sharlatan Hellseher
Subject: [bug#63542] [PATCH v2 12/20] gnu: python-astroquery: Use Gexp.
Date: Wed, 24 May 2023 22:51:46 +0100

* gnu/packages/astronomy.scm (python-astroquery): Use Gexp to simplify
package style.
---
 gnu/packages/astronomy.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c8f3a8e965..c74867948f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1280,15 +1280,15 @@ (define-public python-astroquery
         (base32 "1vhkzsqlgn3ji5by2rdf2gwklhbyzvpzb1iglalhqjkkrdaaaz1h"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
+     (list
+      #:phases
+       #~(modify-phases %standard-phases
          (add-before 'check 'writable-home
            (lambda _                    ; some tests need a writable home
              (setenv "HOME" (getcwd))))
          (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+           (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
-               (add-installed-pythonpath inputs outputs)
                (invoke "python" "-m" "pytest" "--pyargs" "astroquery"
                        ;; Skip tests that require online data.
                        "-m" "not remote_data")))))))
-- 
2.39.2






reply via email to

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