From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YI8KLhdWdmRYegEASxT56A (envelope-from ) for ; Tue, 30 May 2023 22:01:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MNDCLRdWdmRBfQEAauVa8A (envelope-from ) for ; Tue, 30 May 2023 22:01:27 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8741B19317 for ; Tue, 30 May 2023 22:01:27 +0200 (CEST) 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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685476887; a=rsa-sha256; cv=none; b=qawRiC9SYnq+YbG9LXPjpv7xRUKuUWNP3QhPl4jb6hPAs2cUJuteNUgkZ1rEKh3M/rwPTg Hibv2ViJHKOx07yko9SFvipLJU18HMe5JKvRXxI317S3q/D4Zjn7/FdAntrZULjLSN17nY 8ppsCiwHjdzvZ03AbzbAA95UH9x0lxfN5FZfIsBpkkZGGxFq8y8HGoOHaeqOObnQrjX3eu 4PVjmovWw1Mp5hELSO/J4/+uAdEJODzPKh1I0eWtVCu7yNSWoQDJW2OJjexbitAhdCVWiG 8humjS+NPwleb1rT13OGqQDeSdby7v2+bWE6ufDPXwjjB5D4lni5mL5r68ApFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=UK0+tn0L; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685476887; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gZhO0fZareXzkRWOVYV6sE69kKfwTrftffHGUTD6TAw=; b=QSP5tbglWKnVj+IUuGQVsyMAdQWp1A9LvY8/yLg0b/j4/NQVflcJzCauvtX7A/1EVd+j/5 ceOJ0ryyhBa/D5DdcTrkDQXR2bfdz6I25OjKMI2jEBnntu2Jr/MIc6QwfGfRE+n20dvAMr 9qifE948dw5Xh+w1uxpqlNlexZsCRJrYLapy4Z2Tr9LuvLqZyRGg2CgCZoppSMmS3d5egD g62W5nnB6fXJ2dva1GnMzTUjyWC3Bj+5r6yEvtsUG+HqmiVTvlmx4YMjLI8yGv71v/CnYC w04ezaLBNfxv5cju+3tcnz05k2+eFQUA/SJxWkB4EsSCIy/YH848oX9fcoTvVw== X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=UK0+tn0L; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Spam: Yes X-Migadu-Spam-Score: 8.86 X-Spam-Score: 8.86 X-Migadu-Queue-Id: 8741B19317 X-TUID: wz0+J4jIGvqi * 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