me
/
guix
Archived
1
0
Fork 0

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>
master
Sharlatan Hellseher 2022-12-11 22:25:42 +00:00 committed by Ludovic Courtès
parent 5534a69223
commit 888942a155
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 9 deletions

View File

@ -400,13 +400,13 @@ in FITS files.")
(define-public python-fitsio (define-public python-fitsio
(package (package
(name "python-fitsio") (name "python-fitsio")
(version "1.1.7") (version "1.1.8")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "fitsio" version)) (uri (pypi-uri "fitsio" version))
(sha256 (sha256
(base32 "0q8siijys9kmjnqvyipjgh6hkhf4fwvr1swhsf4if211i9b0m1xy")) (base32 "1y80hgvlkjz1bijfyb2j03853yc1kc63yrf9ab7as31ad2r6kxb1"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Remove the bundled cfitsio ;; Remove the bundled cfitsio
@ -430,13 +430,8 @@ in FITS files.")
(("self.system_fitsio_libdir = None") "pass") (("self.system_fitsio_libdir = None") "pass")
(("self.use_system_fitsio") "True") (("self.use_system_fitsio") "True")
(("self.system_fitsio_includedir") includedir) (("self.system_fitsio_includedir") includedir)
(("self.system_fitsio_libdir") libdir))))) (("self.system_fitsio_libdir") libdir))))))))
(add-after 'unpack 'skip-bzip2-test (inputs (list curl-minimal))
(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")))))))
(propagated-inputs (propagated-inputs
(list python-numpy cfitsio)) (list python-numpy cfitsio))
(home-page "https://github.com/esheldon/fitsio") (home-page "https://github.com/esheldon/fitsio")