From patchwork Tue May 20 22:24:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 42796 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 8741A27BC4B; Tue, 20 May 2025 23:27:11 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 D513627BC49 for ; Tue, 20 May 2025 23:27:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uHVPk-0006zV-BT; Tue, 20 May 2025 18:26:24 -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 1uHVPf-0006vk-4R for guix-patches@gnu.org; Tue, 20 May 2025 18:26:19 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uHVPe-000518-8F for guix-patches@gnu.org; Tue, 20 May 2025 18:26:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=/BlsHRpSJQ/8ZCZwxPdhcchWkm07wEzUUZmpiHYIzFw=; b=gkiB2ZG5fi+SFbphZ3mRhGaW4BAMoXufJr0VYB0nYA4MzBbOY9cbXAkGnujWF1scm9vsexUgw5gkHHT+U94xZU/MsHxVhFi3sZZcWXgVDgfRkom6kRPLTVdiG98qiMN7Gf4N5OCGkGPj5EHQvySKAy+KTjRV++FnasiRZaIVJ1qPkwqmee/ynNgrCWijaobXu8U5cEZlpKQIwxNUlg9x2NIHEST6KFv3G6X4u6DENeNOxy/fzPMNurdFOKIWAcaRF/RpIYgn2yLtBNtLxGfKGcN6hrci/gFT+B0JHETYOJs1kEgjQO7sk5zf+zYf62yCuWdyW0UJfuE8i99WLXg8Pg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uHVPe-0004Wq-2J; Tue, 20 May 2025 18:26:18 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78517] [PATCH 12/31] gnu: Add python-jwst-backgrounds. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 20 May 2025 22:26:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78517@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 78517-submit@debbugs.gnu.org id=B78517.174777993116952 (code B ref 78517); Tue, 20 May 2025 22:26:17 +0000 Received: (at 78517) by debbugs.gnu.org; 20 May 2025 22:25:31 +0000 Received: from localhost ([127.0.0.1]:38076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uHVOs-0004PD-BH for submit@debbugs.gnu.org; Tue, 20 May 2025 18:25:30 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:59880) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uHVOh-0004Lr-85 for 78517@debbugs.gnu.org; Tue, 20 May 2025 18:25:19 -0400 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3a064a3e143so3386633f8f.3 for <78517@debbugs.gnu.org>; Tue, 20 May 2025 15:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747779913; x=1748384713; darn=debbugs.gnu.org; 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=/BlsHRpSJQ/8ZCZwxPdhcchWkm07wEzUUZmpiHYIzFw=; b=TG1PIdjLGwsQ7/udNA0JTy3GnGAtUttNx7eUUSHoufymJqFvD7PXSGdlNFnsa0cIu0 4JQsEvYf7nNv9XxLMtq6lxYm08qHZ0r2Q3JY3kPy5jh15Gt3qbOuLpGTzxi6/sikCVhu LXVsHXizTa1idxTXrDTgPqyhrL7OXkzfjkSs3rS5j2J34WBXRPKjIMfanVVEnTzZLlHY jXvK5zDROme+hJfoIIWhhgoawP7BqPx3uVarGQ78lvBolHVEEH+IltrCYUiEN4JI0u65 3iCFadWdq7F1ktlHhFY82rlnGdmidLsUkB7mNH7yMYtqDbkNDqNsoBuumAO4i0G3kJ+z QY6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747779913; x=1748384713; 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=/BlsHRpS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64d3:4047 with SMTP id ffacd0b85a97d-3a364d3405emr12438004f8f.37.1747779912985; Tue, 20 May 2025 15:25:12 -0700 (PDT) Received: from localhost.localdomain (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a3620dbc6asm16438730f8f.88.2025.05.20.15.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 May 2025 15:25:12 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 20 May 2025 23:24:34 +0100 Message-ID: <7150dbb097231b688ea7a1b90006cc0587b268d8.1747779548.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.49.0 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-backgrounds): New variable. Change-Id: I855212fad78688cf6b061766416278a91a349b8c --- gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index f783768751..73f2b65531 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4080,6 +4080,40 @@ (define-public python-jwst etc.).") (license license:bsd-3))) +(define-public python-jwst-backgrounds + (package + (name "python-jwst-backgrounds") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jwst_backgrounds" version)) + (sha256 + (base32 "14m1a6z884vg2n5ndwwhpnzpb5h28hh58a53dfjwwbjakwmixb0p")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ; no tests in PyPI tarball, tests requir networking + (native-inputs + (list python-setuptools + python-wheel)) + (propagated-inputs + (list python-healpy + python-matplotlib + python-numpy + python-scipy)) + (home-page "https://github.com/spacetelescope/jwst_backgrounds") + (synopsis "Retrieve and plot JWST background information") + (description + "This package provides a a simple program to predict the levels of +background emission in JWST observations, for use in proposal planning. + +It accesses a precompiled background cache prepared by Space Telescope Science +Institute. The background cache is hosted by the Mikulski Archive for Space +Telescopes (MAST), so you need internet access to run the tool with the remote +cache. It is possible to download the full background cache to your local +machine.") + (license license:bsd-3))) + (define-public python-libstempo (package (name "python-libstempo")