unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 63806@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Eric Bavier <bavier@posteo.net>
Subject: [bug#63806] [PATCH 12/18] gnu: Add python-stdatamodels.
Date: Tue, 30 May 2023 20:58:42 +0100	[thread overview]
Message-ID: <26fb287354512465fb2b97ee1961661e71283fa9.1685475211.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1685475210.git.sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (python-stdatamodels): New variable.
---
 gnu/packages/astronomy.scm | 42 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d5fb41f7c4..6f5d06f634 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2172,6 +2172,48 @@ (define-public python-stsci-stimage
 image processing functions: @code{xyxymatch}, @code{geomap}.")
     (license license:bsd-3)))
 
+(define-public python-stdatamodels
+  (package
+    (name "python-stdatamodels")
+    (version "1.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "stdatamodels" version))
+              (sha256
+               (base32
+                "1lssz5mnkzgraqa9mdg1w39scsikymcp3zpmsjb146r0pqnwnpzw"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; Disable tests requiring access to CRDS servers to download ~500MiB
+      ;; of data.
+      #:test-flags #~(list "-k" "not test_crds_selectors_vs_datamodel")
+      #:phases #~(modify-phases %standard-phases
+                   (add-before 'check 'set-home
+                     (lambda _
+                       (setenv "HOME" "/tmp"))))))
+    (propagated-inputs (list python-asdf
+                             python-asdf-astropy
+                             python-astropy
+                             python-jsonschema
+                             python-numpy
+                             python-psutil))
+    (native-inputs (list python-crds
+                         python-pytest
+                         python-pytest-doctestplus
+                         python-pytest-openfiles
+                         python-scipy
+                         python-semantic-version
+                         python-setuptools-scm))
+    (home-page "https://github.com/spacetelescope/stdatamodels")
+    (synopsis
+     "Core support for DataModel classes used in calibration pipelines")
+    (description
+     "Provides DataModel, which is the base class for data models implemented in the
+@acronym{JWST, James Webb Space Telescope} and @acronym{Roman, Nancy Grace Roman
+Space Telescope} calibration software.")
+    (license license:bsd-3)))
+
 (define-public python-stsynphot
   (package
     (name "python-stsynphot")
-- 
2.40.1





  parent reply	other threads:[~2023-05-30 20:01 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30 19:39 [bug#63806] [PATCH 00/18]: gnu: Add JWST (James Webb Space Telescope) Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 01/18] gnu: Add python-pysynshot Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 02/18] gnu: Add python-rad Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 03/18] gnu: Add python-roman-datamodels Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 04/18] gnu: Add python-stsci-image Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 05/18] gnu: Add python-stsci-imagestats Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 06/18] gnu: Add python-stsci-stimage Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 07/18] gnu: Add python-tweakwcs Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 08/18] gnu: Add python-synphot Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 09/18] gnu: Add python-stsynphot Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 10/18] gnu: Add python-parsley Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 11/18] gnu: Add python-crds Sharlatan Hellseher
2023-05-30 19:58 ` Sharlatan Hellseher [this message]
2023-05-30 19:58 ` [bug#63806] [PATCH 13/18] gnu: Add python-stpipe Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 14/18] gnu: Add python-bayesicfitting Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 15/18] gnu: Add python-wiimatch Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 16/18] gnu: Add python-drizzle Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 17/18] gnu: Add python-stcal Sharlatan Hellseher
2023-05-30 19:58 ` [bug#63806] [PATCH 18/18] gnu: Add python-jwst Sharlatan Hellseher
2023-06-09  8:33 ` [bug#63806] Sharlatan Hellseher
2023-06-14 11:59 ` bug#63806: [PATCH 00/18]: gnu: Add JWST (James Webb Space Telescope) Efraim Flashner

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=26fb287354512465fb2b97ee1961661e71283fa9.1685475211.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=63806@debbugs.gnu.org \
    --cc=bavier@posteo.net \
    /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).