summary refs log tree commit diff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2023-05-24 22:51:35 +0100
committerVinicius Monego <monego@posteo.net>2023-05-25 21:15:09 -0300
commit035090a424e0a7ca1055bfa5b144f703cf1e428e (patch)
tree04f3e4c55376a45e34969ee7890d1613744c4672
parentfb1c5d4df7d1479e715f9a28246ef8f92513be59 (diff)
downloadguix-035090a424e0a7ca1055bfa5b144f703cf1e428e.tar.gz
gnu: python-asdf-astropy: Update to 0.4.0.
* gnu/packages/astronomy.scm (python-asdf-astropy): Update to 0.4.0.
[source]: Update outdated source URI.
[arguments]: Add 'set-home-env phase before 'check.
[native-inputs]: Remove python-matplotlib.

Signed-off-by: Vinicius Monego <monego@posteo.net>
-rw-r--r--gnu/packages/astronomy.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9bc790ef4b..cb6c59214b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2974,18 +2974,21 @@ install an implementation package such as asdf-astropy.")
 (define-public python-asdf-astropy
   (package
     (name "python-asdf-astropy")
-    (version "0.3.0")
+    (version "0.4.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "asdf_astropy" version))
+       (uri (pypi-uri "asdf-astropy" version))
        (sha256
-        (base32 "1gp5iav0a9g9q0zb22vhzi3v9vwk5wn2nxvr3mvi3bsdcdj3h23v"))))
+        (base32 "1difb2y1hlalbhrw8znwmmc0vzgg44zfsay98lpllb7y0536fas6"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-before 'check 'set-home-env
+                          (lambda _ (setenv "HOME" "/tmp"))))))
     (native-inputs
      (list python-coverage
            python-h5py
-           python-matplotlib
            python-pandas
            python-pytest-astropy
            python-scipy