mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-13 00:20:35 +02:00
gnu: python-astropy: Add missing coordinates data file.
While packaging python-pypeit all tests failed to find valid coordinates for telescopes from "astropy/coordinates/data/sites.json" which was not included in the python-astropy, and packaged separately. It's downloaded during the first invocation of astropy from http://data.astropy.org/. This change ingests missing JSON file from astro-data package. * gnu/packages/astronomy.scm (python-astropy)[native-inputs]: Add specification-astropy-data. Change-Id: Ie95182c6350b20eeb577340c30197a603e2ab98c
This commit is contained in:
@@ -2946,6 +2946,13 @@ constraints (i.e., altitude, airmass, moon separation/illumination, etc.)
|
||||
" and not test_ephemeris_local_file_not_ephemeris"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'install-coordinates/sites.json
|
||||
(lambda _
|
||||
(copy-file
|
||||
(string-append #$(this-package-native-input
|
||||
"specification-astropy-data")
|
||||
"/share/coordinates/sites.json")
|
||||
"astropy/coordinates/data/sites.json")))
|
||||
(add-after 'unpack 'preparations
|
||||
(lambda _
|
||||
;; Use our own libraries in place of bundles.
|
||||
@@ -2986,7 +2993,8 @@ constraints (i.e., altitude, airmass, moon separation/illumination, etc.)
|
||||
python-setuptools-scm
|
||||
python-sgp4
|
||||
python-skyfield
|
||||
python-threadpoolctl))
|
||||
python-threadpoolctl
|
||||
specification-astropy-data))
|
||||
(inputs
|
||||
(list expat
|
||||
wcslib))
|
||||
|
||||
Reference in New Issue
Block a user