From patchwork Tue May 30 19:58:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 50507 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 B20CB27BBEC; Tue, 30 May 2023 21:01:35 +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 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 BFA8227BBF5 for ; Tue, 30 May 2023 21:01:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q45Vt-00039e-C6; Tue, 30 May 2023 16:00:13 -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 1q45Vp-00037B-8y for guix-patches@gnu.org; Tue, 30 May 2023 16:00:09 -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 1q45Vp-0006dh-0a for guix-patches@gnu.org; Tue, 30 May 2023 16:00:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q45Vo-00012V-S6; Tue, 30 May 2023 16:00:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63806] [PATCH 12/18] gnu: Add python-stdatamodels. 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:08 +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.16854767803794 (code B ref 63806); Tue, 30 May 2023 20:00:08 +0000 Received: (at 63806) by debbugs.gnu.org; 30 May 2023 19:59:40 +0000 Received: from localhost ([127.0.0.1]:34247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45VL-0000z2-VY for submit@debbugs.gnu.org; Tue, 30 May 2023 15:59:40 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:53586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Ut-0000vl-9h for 63806@debbugs.gnu.org; Tue, 30 May 2023 15:59:12 -0400 Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-3f603d4bc5bso50928785e9.3 for <63806@debbugs.gnu.org>; Tue, 30 May 2023 12:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685476745; x=1688068745; 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=+eLjRQ6QZS+urNasoZe6OvnHTmO8+P35bZqZLuO4OW8=; b=Npc2vbYhDmeL+qdcBh1Ezxc/Y/mrRpBvfFFsH0Y+qYtj5UqrgouhMZPxy5MtWIdfDN GWhKbYAJzdbpi+KJFx8X58UD295Myje/UGxURYR3T5NIpFLQoRMR6qhwrAJvF0nvBPA/ yEUhZ1+plewzAmONeqT5sq7JG23H1+6Mlz8Aolp/5w5lBdGZFPfcknsYomfP9f7ddYWI VtTAx791ZylQm8JOybr1oqxLWXJxGvpw/E/7cxJfJCiXZNpcHS+w22AA9h317LdUxrtQ 31vkOgCYrCkNBtO0qFIj8YA0JWOFtM6GAmfS+z6ET8LFobnoQVQVDuTIWp7vUe3DmERA 71ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685476745; x=1688068745; 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=+eLjRQ6QZS+urNasoZe6OvnHTmO8+P35bZqZLuO4OW8=; b=K2WAcbZEuo4uhVK7VUpUUpUM/tpJpU/cfzuXQ8GwZ8PCLJB3Ky4U7lAFohhZ64fmyi W8Knec4NIeixxTy/eiVvD5lkTbr6cWUpEooyAhd362ltQbqXzn0E5OVFNj2KgO8RRuNw X+iYiV0CwTrHLH2vMDs59kIYUeGV2CpIoJ9xpWWWxjLkC17Yak563M0Vse0R4xfNtSVP hr1E+Ye4vgXHEIl1rFHYnWgsddLn0t3ICaDkrX4gM65qM5odLC4akAtVpiXZBW0cavdg cwL34FPlrTrM7NYtAno+G/NrjZPfntR+pXBjx5qQpW+y0z93wRNHSndCjFXyVS+mxXVS ZflQ== X-Gm-Message-State: AC+VfDzGT62iXZyRkeeSAQhHH56N3KbNo2sfG8SfmtY7xUpYB2yJ0ZVY ws01xkVsKV5LW7OMoYujIvbk3tRNzLo= X-Google-Smtp-Source: ACHHUZ7kgYQOLw+KU3lzEat5f66y9aZ5JFRazFsMhJ/sQSnM+vYzvQ2Yrp/p1aNf66/WIGJB9Q4yFg== X-Received: by 2002:adf:ee83:0:b0:30a:e997:e69c with SMTP id b3-20020adfee83000000b0030ae997e69cmr2303368wro.53.1685476745539; Tue, 30 May 2023 12:59:05 -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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 12:59:05 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 30 May 2023 20:58:42 +0100 Message-Id: <26fb287354512465fb2b97ee1961661e71283fa9.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-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")