guix-commits
[Top][All Lists]
Advanced

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

04/07: gnu: python-fitsio: Update to 1.1.8.


From: guix-commits
Subject: 04/07: gnu: python-fitsio: Update to 1.1.8.
Date: Fri, 6 Jan 2023 17:49:06 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 888942a155bfe6c2c8d34064b02b4d14c6aa7e63
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Dec 11 22:25:42 2022 +0000

    gnu: python-fitsio: Update to 1.1.8.
    
    * gnu/packages/astronomy.scm (python-fitsio): Update to 1.1.8.
      [arguments]{phases}: skip-bzip2-test remove redundant phase as cfitsio
      built with bzip2 support.
      [inputs]: Add curl-minimal.
    
    Signed-off-by: Ludovic Court├Ęs <ludo@gnu.org>
---
 gnu/packages/astronomy.scm | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a4139d2308..289fc8e25f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -400,13 +400,13 @@ in FITS files.")
 (define-public python-fitsio
   (package
     (name "python-fitsio")
-    (version "1.1.7")
+    (version "1.1.8")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "fitsio" version))
        (sha256
-        (base32 "0q8siijys9kmjnqvyipjgh6hkhf4fwvr1swhsf4if211i9b0m1xy"))
+        (base32 "1y80hgvlkjz1bijfyb2j03853yc1kc63yrf9ab7as31ad2r6kxb1"))
        (modules '((guix build utils)))
        (snippet
         ;; Remove the bundled cfitsio
@@ -430,13 +430,8 @@ in FITS files.")
                  (("self.system_fitsio_libdir = None") "pass")
                  (("self.use_system_fitsio") "True")
                  (("self.system_fitsio_includedir") includedir)
-                 (("self.system_fitsio_libdir") libdir)))))
-         (add-after 'unpack 'skip-bzip2-test
-           (lambda* (#:key inputs #:allow-other-keys)
-             ;; The bzip2 test fails because Guix' cfitsio
-             ;; is built without bzip2 support.
-             (substitute* "fitsio/test.py"
-               (("'SKIP_BZIP_TEST' in os.environ") "True")))))))
+                 (("self.system_fitsio_libdir") libdir))))))))
+    (inputs (list curl-minimal))
     (propagated-inputs
      (list python-numpy cfitsio))
     (home-page "https://github.com/esheldon/fitsio";)



reply via email to

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