unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 68641@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Andreas Enge <andreas@enge.fr>,
	Efraim Flashner <efraim@flashner.co.il>,
	Eric Bavier <bavier@posteo.net>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#68641] [PATCH 12/19] gnu: Add python-specutils.
Date: Sun, 21 Jan 2024 16:53:52 +0000	[thread overview]
Message-ID: <ae6e8f39537ed87f3c7b3d51d200ab1d65df83a6.1705854493.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1705854493.git.sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (python-specutils): New variable.

Change-Id: Id109b9b1c385b7fe3ff9a3a5406d1930c8ff1ffb
---
 gnu/packages/astronomy.scm | 49 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c5e7da59f9..7e1dd3ed82 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2704,6 +2704,55 @@ (define-public python-spectral-cube
 @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 stand along 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")
-- 
2.41.0





  parent reply	other threads:[~2024-01-21 16:55 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-21 16:51 [bug#68641] [PATCH 00/19] gnu: Astronomy 2024/01 updates Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 01/19] gnu: stellarium: Update to 23.4 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 02/19] gnu: indi-2.0: Update to 2.0.5 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 03/19] gnu: gpredict: Update home-page and description Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 04/19] gnu: libxisf: Update to 0.2.11 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 05/19] gnu: python-crds: Update to 11.17.14 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 06/19] gnu: python-drms: Update to 0.7.1 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 07/19] gnu: python-pyvo: Update to 1.5 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 08/19] gnu: python-stcal: Update to 1.5.2 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 09/19] gnu: python-sunpy: Update to 5.1.1 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 10/19] gnu: Add python-ndcube Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 11/19] gnu: Add python-dust-extinction Sharlatan Hellseher
2024-01-21 16:53 ` Sharlatan Hellseher [this message]
2024-01-24 14:15   ` [bug#68641] [PATCH 12/19] gnu: Add python-specutils Maxim Cournoyer
2024-01-21 16:53 ` [bug#68641] [PATCH 13/19] gnu: python-synphot: Enable more options Sharlatan Hellseher
2024-01-24 14:16   ` Maxim Cournoyer
2024-01-21 16:53 ` [bug#68641] [PATCH 14/19] gnu: python-tweakwcs: Update to 0.8.6 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 15/19] gnu: python-skyfield: Update to 1.47 Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 16/19] gnu: python-stsynphot: Fix build Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 17/19] gnu: libpasastro: Use G-Expressions Sharlatan Hellseher
2024-01-24 11:58   ` Efraim Flashner
2024-01-21 16:53 ` [bug#68641] [PATCH 18/19] gnu: stackistry: " Sharlatan Hellseher
2024-01-21 16:53 ` [bug#68641] [PATCH 19/19] gnu: libnova: " Sharlatan Hellseher
2024-01-24 14:20 ` [bug#68641] [PATCH 00/19] gnu: Astronomy 2024/01 updates Maxim Cournoyer
2024-01-24 22:19 ` [bug#68641] [PATCH 17/19] gnu: libpasastro: Use G-Expressions Sharlatan Hellseher
2024-01-24 22:37 ` bug#68641: [PATCH 00/19] gnu: Astronomy 2024/01 updates Sharlatan Hellseher
2024-01-24 23:27 ` [bug#68641] " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ae6e8f39537ed87f3c7b3d51d200ab1d65df83a6.1705854493.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=68641@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).