GNU bug report logs -
#77975
[PATCH 00/32] Astro update 2025/04.
Previous Next
Full log
View this message in rfc822 format
* gnu/packages/astronomy.scm (python-sunraster): New variable.
Change-Id: I0f50cbf7a36b189c89aa771be64c2f3035affa20
---
gnu/packages/astronomy.scm | 52 ++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index a983dae05d..00924c2890 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -7476,6 +7476,58 @@ (define-public python-sunpy
to the SolarSoft data analysis environment.")
(license license:bsd-2)))
+(define-public python-sunraster
+ (package
+ (name "python-sunraster")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sunraster" version))
+ (sha256
+ (base32 "1kp0bhih4fcx4g60li4s574m493f3z4dq2r30nifq0m7f50w0r87"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--ignore=docs/data_types/raster.rst"
+ "--ignore=docs/data_types/spectrogram.rst"
+ "-k" (string-join
+ ;; XXX: Reported upstream:
+ ;; <https://github.com/sunpy/sunraster/issues/281>
+ (list "not test_apply_exposure_time_correction"
+ "test_ndcube_components_after_slicing"
+ "test_read_spice_l2_fits_multiple_files_dumbbells"
+ "test_read_spice_l2_fits_multiple_rasters_multiple_windows"
+ "test_read_spice_l2_fits_multiple_rasters_single_window"
+ "test_read_spice_l2_fits_multiple_sns_multiple_windows"
+ "test_read_spice_l2_fits_single_file_dumbbells")
+ " and not "))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; PermissionError: [Errno 13] Permission denied:
+ ;; '/homeless-shelter'
+ (setenv "HOME" "/tmp"))))))
+ (native-inputs
+ (list python-extension-helpers
+ python-pytest-astropy
+ python-setuptools
+ python-setuptools-scm
+ python-sunpy
+ python-wheel))
+ (propagated-inputs
+ (list python-astropy
+ python-ndcube
+ python-numpy))
+ (home-page "https://docs.sunpy.org/projects/sunraster/en/stable/")
+ (synopsis "Solar mission spectral data tool")
+ (description
+ "sunraster is an Python library that provides the tools to read in and
+analyze spectrogram data.")
+ (license license:bsd-2)))
+
(define-public python-tweakwcs
(package
(name "python-tweakwcs")
--
2.49.0
This bug report was last modified 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.