aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2023-05-24 22:51:46 +0100
committerVinicius Monego <monego@posteo.net>2023-05-25 21:20:05 -0300
commitd6e587e11db5ae96a94cd0f04773b9845e71f9fc (patch)
tree9ace2f8f112b2182efa718b38137ccdaa8fb7fab
parent3c17950affc16215827b6d5cbd7c5eb5cd9d76a6 (diff)
downloadguix-d6e587e11db5ae96a94cd0f04773b9845e71f9fc.tar
guix-d6e587e11db5ae96a94cd0f04773b9845e71f9fc.tar.gz
gnu: python-astroquery: Use G-Expressions.
* gnu/packages/astronomy.scm (python-astroquery)[arguments]: Use G-Expressions. Signed-off-by: Vinicius Monego <monego@posteo.net>
-rw-r--r--gnu/packages/astronomy.scm23
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