diff options
-rw-r--r-- | gnu/packages/astronomy.scm | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index ace762e518..5c98c6a067 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -1280,18 +1280,17 @@ astronomy and astrophysics.") (base32 "1vhkzsqlgn3ji5by2rdf2gwklhbyzvpzb1iglalhqjkkrdaaaz1h")))) (build-system python-build-system) (arguments - `(#: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) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest" "--pyargs" "astroquery" - ;; Skip tests that require online data. - "-m" "not remote_data"))))))) + (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 tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "pytest" "--pyargs" "astroquery" + ;; Skip tests that require online data. + "-m" "not remote_data"))))))) (propagated-inputs (list python-astropy python-beautifulsoup4 |