gnu: python-astropy: Update to 5.3.1.

* gnu/packages/astronomy.scm (python-astropy): Update to 5.3.1.
[snippet]: Remove trailing #t. Prevent cfitsio from deletion.
[inputs]: Remove cfitsio.

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

View File

@ -1347,13 +1347,13 @@ accurately in real time at any rate desired.")
(define-public python-astropy (define-public python-astropy
(package (package
(name "python-astropy") (name "python-astropy")
(version "5.2.2") (version "5.3.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "astropy" version)) (uri (pypi-uri "astropy" version))
(sha256 (sha256
(base32 "170ddflli35mvhf6pla7aizfw8a7ckq66g1mi1br99dx2r3y7ag6")) (base32 "0x4dh7wx9sn1gy6sl2d54zsd24cgfjwrlk6kfrwpzzrmbsv22lwv"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -1362,9 +1362,10 @@ accurately in real time at any rate desired.")
(for-each delete-file-recursively '("ply" "configobj"))) (for-each delete-file-recursively '("ply" "configobj")))
;; Remove cextern bundles. Check bundled versions against available ;; Remove cextern bundles. Check bundled versions against available
;; in Guix in the future update of astropy. ;; in Guix in the future update of astropy.
;; Linking against an external cfitsio version has been removed,
;; see https://github.com/astropy/astropy/pull/14311
(with-directory-excursion "cextern" (with-directory-excursion "cextern"
(for-each delete-file-recursively '("cfitsio" "expat" "wcslib"))) (for-each delete-file-recursively '("expat" "wcslib")))))))
#t))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -1431,7 +1432,7 @@ accurately in real time at any rate desired.")
python-skyfield python-skyfield
python-timezonefinder)) python-timezonefinder))
(inputs (inputs
(list cfitsio expat wcslib)) (list expat wcslib))
(propagated-inputs (propagated-inputs
(list python-configobj (list python-configobj
python-numpy python-numpy