From patchwork Tue May 30 19:58:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 50503 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 70F7527BBE9; Tue, 30 May 2023 21:01:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 92E2B27BBEB for ; Tue, 30 May 2023 21:01:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q45Vx-0003Bo-VJ; Tue, 30 May 2023 16:00:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q45Vr-00039C-Mk for guix-patches@gnu.org; Tue, 30 May 2023 16:00:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q45Vr-0006eY-Ej for guix-patches@gnu.org; Tue, 30 May 2023 16:00:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q45Vr-00013O-BH; Tue, 30 May 2023 16:00:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63806] [PATCH 18/18] gnu: Add python-jwst. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: bavier@posteo.net, guix-patches@gnu.org Resent-Date: Tue, 30 May 2023 20:00:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63806 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63806@debbugs.gnu.org Cc: Sharlatan Hellseher , Eric Bavier X-Debbugs-Original-Xcc: Eric Bavier Received: via spool by 63806-submit@debbugs.gnu.org id=B63806.16854767823838 (code B ref 63806); Tue, 30 May 2023 20:00:11 +0000 Received: (at 63806) by debbugs.gnu.org; 30 May 2023 19:59:42 +0000 Received: from localhost ([127.0.0.1]:34259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45VO-0000zl-Cq for submit@debbugs.gnu.org; Tue, 30 May 2023 15:59:42 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:51228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Ux-0000xK-Ih for 63806@debbugs.gnu.org; Tue, 30 May 2023 15:59:16 -0400 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-30af86a966eso711812f8f.2 for <63806@debbugs.gnu.org>; Tue, 30 May 2023 12:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685476750; x=1688068750; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gZhO0fZareXzkRWOVYV6sE69kKfwTrftffHGUTD6TAw=; b=UK0+tn0LA5axvw3xCo3minuh6X6KRApJ1Pl3SgMMvsg7W+q+sXK7CW2h4Vcvw1CjxH e7kNC9gqxeJXGlktLNe76D4+6zYA9EiYPRH6WCptmhxSv8p1Qfy7wiAiDIl7W0t9DHoo FhXWlDIYQ/a1uD7D867USXrWqL/vlB0AVhOqB0Ue81fPRHxBtp7o5bUb+Lqygpmb5DBB 7rKcimxg6wjlnut4NkYwztnUMlTkLrjNW8xKdzOcODSDYE2AfUkj1IAHG52D06y5kDoE a13miYCP4+I2oMgZajIgpWMl+nKMU15bgnO1rHWnRZAcSXFgv8HsS8Bf2OYn2IUICwA4 SWUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685476750; x=1688068750; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gZhO0fZareXzkRWOVYV6sE69kKfwTrftffHGUTD6TAw=; b=Sw76cl8FQ1xILcPj9/HWqcspLXTW73FzaSk3wiuThPL4D2CRiPul46rV26aiDWjXmW LXfW7I2BtW2rh/xUAk79kXWRdxMLz0GTShcu84zz2oDONuOEoHma1VJOwvj7Blfifz1r 55EutPg5M9tF4dYeIni0j+cYWKA8vhfVq250S8wqObyHZ1Xj0IbqSs0DtNReBxdzf7pG D0mQcTvaM1ZFA65rBmR+ZCbkVqbpxnyCPqTZzYLkyGS4uUsK1Y3uIafDwEIfhGP/1X3t eWfqQFT3I1Q2RNQxYxtLjHXVV14xpiSuL3Tfg0wYkHhAzySyaBnXes7ThWeiZaminbDq 1ZPg== X-Gm-Message-State: AC+VfDygY31a8iqbKD0A2txKFgvqoiIIN3kxXEAobS9STvh9RE/4rFL5 F74NWmL5NUKStxWrDgE9elDgNu95OPw= X-Google-Smtp-Source: ACHHUZ7JgRqhtPh5hbPWxzu2pD5pIX7sVsdEF1Ie4ZUYK1tQAqzUkLj2PtGauI35BqzADVQGYTXEZQ== X-Received: by 2002:a5d:4b08:0:b0:309:507a:3f5b with SMTP id v8-20020a5d4b08000000b00309507a3f5bmr2380051wrq.8.1685476749909; Tue, 30 May 2023 12:59:09 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id j18-20020a5d4492000000b002ffbf2213d4sm4271460wrq.75.2023.05.30.12.59.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 12:59:09 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 30 May 2023 20:58:48 +0100 Message-Id: <77ea6c35dc5c72b2ac749c51e139d63ad2cc7c95.1685475211.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")