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

From: Sharlatan Hellseher <[email-masked]>
Date: Wed, 17 May 2023 00:23:41 +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 be4961b49e..5f5de193d0 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