[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/32: gnu: Add python-glue-astronomy.
From: |
guix-commits |
Subject: |
27/32: gnu: Add python-glue-astronomy. |
Date: |
Tue, 27 Aug 2024 12:04:58 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 591e2584082f996bd83e7bd03946138bdbb709b9
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Aug 5 21:58:31 2024 +0100
gnu: Add python-glue-astronomy.
* gnu/packages/astronomy.scm (python-glue-astronomy): New variable.
Change-Id: Ia11da145d30b221497b71b8ffa49b9522ca547a7
---
gnu/packages/astronomy.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index f354e8835f..263ea1c46e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1149,6 +1149,47 @@ zooming windows, star catalog access, cuts, star
pick/FWHM, thumbnails, etc.")
(prepend python-pyqt)))
(synopsis "Qt5 image viewer build based on python-ginga library")))
+(define-public python-glue-astronomy
+ (package
+ (name "python-glue-astronomy")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "glue-astronomy" version))
+ (sha256
+ (base32 "1bra11i55g687ykzll5clp7mf3l9kc0x11wqc3gwfi98qx8fgpqz"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--pyargs" "glue_astronomy"
+ ;; XXX: Findout why these tests fail to load:
+ ;; E ModuleNotFoundError: No module named 'glue.qglue'
+ ;; E ImportError: cannot import name 'make_2dspec_image' from
+ ;; 'specreduce.utils.synth_data'
+
"--ignore=glue_astronomy/io/spectral_cube/tests/test_spectral_cube.py"
+
"--ignore=glue_astronomy/io/spectral_cube/tests/test_spectral_cube.py"
+ "--ignore=glue_astronomy/translators/tests/test_trace.py"
+ "--ignore=glue_astronomy/translators/tests/test_trace.py")))
+ (propagated-inputs
+ (list python-astropy
+ python-glue-core
+ python-regions
+ python-specreduce
+ python-spectral-cube
+ python-specutils))
+ (native-inputs
+ (list python-mock
+ python-pytest-astropy
+ python-setuptools-scm))
+ (home-page "https://github.com/glue-viz/glue-astronomy")
+ (synopsis "Astronomy-specific plugins for glue")
+ (description
+ "The glue-astronomy plugin for glue provides a collection of
+astronomy-specific functionality")
+ (license license:bsd-3)))
+
(define-public python-glue-core
(package
(name "python-glue-core")
- 25/32: gnu: Add python-pyxsim., (continued)
- 25/32: gnu: Add python-pyxsim., guix-commits, 2024/08/27
- 31/32: gnu: Add python-zodipy., guix-commits, 2024/08/27
- 02/32: gnu: indi-2.0: Update to 2.0.9., guix-commits, 2024/08/27
- 21/32: gnu: python-stpipe: Update to 0.7.0., guix-commits, 2024/08/27
- 06/32: gnu: python-crds: Update to 11.18.1., guix-commits, 2024/08/27
- 19/32: gnu: python-shapely: Adjust home page., guix-commits, 2024/08/27
- 17/32: gnu: python-specutils: Update to 1.16.0., guix-commits, 2024/08/27
- 10/32: gnu: python-glue-core: Adjust inputs., guix-commits, 2024/08/27
- 18/32: gnu: python-shapely: Update to 2.0.5., guix-commits, 2024/08/27
- 04/32: gnu: python-astropy-iers-data: Update to 0.2024.8.12.0.32.58., guix-commits, 2024/08/27
- 27/32: gnu: Add python-glue-astronomy.,
guix-commits <=
- 29/32: gnu: Add python-glue-qt., guix-commits, 2024/08/27
- 30/32: gnu: Add python-sunkit-image., guix-commits, 2024/08/27
- 16/32: gnu: python-roman-datamodels: Update to 0.21.0., guix-commits, 2024/08/27
- 12/32: gnu: python-mpl-animators: Update to 1.2.0., guix-commits, 2024/08/27
- 28/32: gnu: Add python-pvextractor., guix-commits, 2024/08/27
- 20/32: gnu: python-stcal: Update to 1.8.0., guix-commits, 2024/08/27
- 08/32: gnu: python-drms: Update to 0.8.0., guix-commits, 2024/08/27
- 26/32: gnu: Add python-specreduce., guix-commits, 2024/08/27
- 23/32: gnu: python-viresclient: Update to 0.12.0., guix-commits, 2024/08/27
- 09/32: gnu: python-dust-extinction: Update to 1.5., guix-commits, 2024/08/27