gnu: python-fitsio: Update to 1.1.10.

* gnu/packages/astronomy.scm (python-fitsio): Update to 1.1.10.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Move cfitsio from here ...
[inputs]: ... to here, do not propagate as it's required only on build
and link time.

Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Sharlatan Hellseher 2023-07-27 00:15:38 +01:00 committed by Andreas Enge
parent 7a66ffb4c8
commit 116bffeae4
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -531,13 +531,13 @@ (define-public python-astroml
(define-public python-fitsio (define-public python-fitsio
(package (package
(name "python-fitsio") (name "python-fitsio")
(version "1.1.8") (version "1.1.10")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "fitsio" version)) (uri (pypi-uri "fitsio" version))
(sha256 (sha256
(base32 "1y80hgvlkjz1bijfyb2j03853yc1kc63yrf9ab7as31ad2r6kxb1")) (base32 "0dv2vjj8qn3rq5sr99x5yjjch5h867c8q7zh73i67dzdsk7ix0jf"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Remove the bundled cfitsio ;; Remove the bundled cfitsio
@ -563,9 +563,12 @@ (define-public python-fitsio
(("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))))))))
(inputs (list curl)) (native-inputs
(list python-pytest))
(inputs
(list curl cfitsio))
(propagated-inputs (propagated-inputs
(list python-numpy cfitsio)) (list python-numpy))
(home-page "https://github.com/esheldon/fitsio") (home-page "https://github.com/esheldon/fitsio")
(synopsis (synopsis
"Python library to read from and write to FITS files") "Python library to read from and write to FITS files")