[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/19: gnu: Add python-specutils.
From: |
guix-commits |
Subject: |
12/19: gnu: Add python-specutils. |
Date: |
Wed, 24 Jan 2024 17:28:03 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit fb4293c4ecfd8af2e8500f1054a3a2f5cc1d35a2
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jan 14 23:25:14 2024 +0000
gnu: Add python-specutils.
* gnu/packages/astronomy.scm (python-specutils): New variable.
Change-Id: Ic2ee65eb8a6fb7e5fe0d0d086541d47eef8bd1ad
---
gnu/packages/astronomy.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c5e7da59f9..3ed72df07f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2704,6 +2704,55 @@ of axis order, spatial projections, and spectral units
that exist in the wild.
@end itemize")
(license license:bsd-3)))
+(define-public python-specutils
+ (package
+ (name "python-specutils")
+ (version "1.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "specutils" version))
+ (sha256
+ (base32 "10nq00q71cyj0p74g3kyzb4hrwkbvhsd6m5zvxifc035rfnvc2qv"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; Disabling test requiring access to download
+ ;; <https://datacenter.iers.org/data/9/finals2000A.all>.
+ ;; XXX: Check if test data may be packed as standalone package.
+ #:test-flags #~(list "-k" "not test_create_spectral_axis")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-home-env
+ (lambda _
+ ;; Tests require HOME to be set.
+ ;; Permission denied: '/homeless-shelter'
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs
+ (list ;; python-stdatamodels ; cycle with python-synphot, optional.
+ python-asdf
+ python-asdf-astropy
+ python-gwcs
+ python-ndcube
+ python-numpy
+ python-scipy))
+ (native-inputs
+ (list python-matplotlib
+ python-pytest-astropy
+ python-semantic-version
+ python-setuptools-scm
+ python-spectral-cube))
+ (home-page "https://specutils.readthedocs.io/")
+ (synopsis "Package for spectroscopic astronomical data")
+ (description
+ "@code{specutils} is a Python package for representing, loading,
manipulating,
+and analyzing astronomical spectroscopic data. The generic data containers and
+accompanying modules provide a toolbox that the astronomical community can use
+to build more domain-specific packages. For more details about the underlying
+principles,
+see @url{https://github.com/astropy/astropy-APEs/blob/main/APE13.rst, APE13}.")
+ (license license:bsd-3)))
+
(define-public python-spherical-geometry
(package
(name "python-spherical-geometry")
- branch master updated (2266754382 -> 8f86cbd5e9), guix-commits, 2024/01/24
- 05/19: gnu: python-crds: Update to 11.17.14., guix-commits, 2024/01/24
- 01/19: gnu: stellarium: Update to 23.4., guix-commits, 2024/01/24
- 02/19: gnu: indi-2.0: Update to 2.0.5., guix-commits, 2024/01/24
- 06/19: gnu: python-drms: Update to 0.7.1., guix-commits, 2024/01/24
- 07/19: gnu: python-pyvo: Update to 1.5., guix-commits, 2024/01/24
- 10/19: gnu: Add python-ndcube., guix-commits, 2024/01/24
- 12/19: gnu: Add python-specutils.,
guix-commits <=
- 13/19: gnu: python-synphot: Enable more options., guix-commits, 2024/01/24
- 03/19: gnu: gpredict: Update home-page and description., guix-commits, 2024/01/24
- 14/19: gnu: python-tweakwcs: Update to 0.8.6., guix-commits, 2024/01/24
- 15/19: gnu: python-skyfield: Update to 1.47., guix-commits, 2024/01/24
- 16/19: gnu: python-stsynphot: Fix build., guix-commits, 2024/01/24
- 18/19: gnu: stackistry: Use G-Expressions., guix-commits, 2024/01/24
- 19/19: gnu: libnova: Use G-Expressions., guix-commits, 2024/01/24
- 04/19: gnu: libxisf: Update to 0.2.11., guix-commits, 2024/01/24
- 11/19: gnu: Add python-dust-extinction., guix-commits, 2024/01/24
- 08/19: gnu: python-stcal: Update to 1.5.2., guix-commits, 2024/01/24