all messages for Guix-related lists mirrored at yhetil.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 18/18] gnu: Add python-jwst.
Date: Tue, 30 May 2023 20:58:48 +0100	[thread overview]
Message-ID: <77ea6c35dc5c72b2ac749c51e139d63ad2cc7c95.1685475211.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1685475210.git.sharlatanus@gmail.com>

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

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 475362c8bb..2772e58141 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2923,6 +2923,73 @@ (define-public python-jplephem
 JPL ephemerides use to predict raw (x,y,z) planetary positions.")
     (license license:expat)))
 
+(define-public python-jwst
+  (package
+    (name "python-jwst")
+    (version "1.10.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "jwst" version))
+              (sha256
+               (base32
+                "1lmfyw2y7c84rs9xqavah9aidj478ijiiijlz6fag11xqn1vs98y"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; XXX: Tests require access to https://jwst-crds-pub.stsci.edu server for
+      ;; getting data sets.
+      #:tests? #f
+      #:phases #~(modify-phases %standard-phases
+                   ;; NOTE: (Sharlatan-20230529T113448+0100): opencv-python's
+                   ;; version can't be detected, it could the way it's packed in
+                   ;; Guix. Review failing sanity check with more efforts,
+                   ;; disable for now to make package buildable.
+                   (delete 'sanity-check))))
+    ;; opencv provides OpenCV-Python which is Listed as install requirement.
+    (propagated-inputs (list opencv
+                             python-asdf
+                             python-asdf-astropy
+                             python-astropy
+                             python-bayesicfitting
+                             python-crds
+                             python-drizzle
+                             python-gwcs
+                             python-jsonschema
+                             python-numpy
+                             python-photutils
+                             python-poppy
+                             python-psutil
+                             python-pyparsing
+                             python-requests
+                             python-scikit-image
+                             python-scipy
+                             python-spherical-geometry
+                             python-stcal
+                             python-stdatamodels
+                             python-stpipe
+                             python-stsci-image
+                             python-stsci-imagestats
+                             python-tweakwcs
+                             python-wiimatch))
+    (native-inputs (list python-codecov
+                         python-colorama
+                         python-flake8
+                         python-pytest
+                         python-pytest-cov
+                         python-pytest-doctestplus
+                         python-pytest-openfiles
+                         python-requests-mock
+                         python-setuptools-scm))
+    (home-page "https://jwst-pipeline.readthedocs.io/en/latest/")
+    (synopsis
+     "Python library for science observations from the James Webb Space Telescope")
+    (description
+     "This package provides an access to the JWST Science Calibration Pipeline
+processes data from all JWST instruments and observing modes by applying various
+science corrections sequentially, producing both fully-calibrated individual
+exposures and high-level data products (mosaics, extracted spectra, etc.).")
+    (license license:bsd-3)))
+
 (define-public python-pyerfa
   (package
     (name "python-pyerfa")
-- 
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 ` [bug#63806] [PATCH 12/18] gnu: Add python-stdatamodels Sharlatan Hellseher
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 ` Sharlatan Hellseher [this message]
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

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

  git send-email \
    --in-reply-to=77ea6c35dc5c72b2ac749c51e139d63ad2cc7c95.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.