From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WFN3N5sG7mYBQwEAqHPOHw:P1 (envelope-from ) for ; Fri, 20 Sep 2024 23:34:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WFN3N5sG7mYBQwEAqHPOHw (envelope-from ) for ; Sat, 21 Sep 2024 01:34:51 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EfSdJece; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Rk/T0Dpu"; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726875291; 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=8rzww+kxBl2JkIjyBEGAqNp/QTPYii4EDxjwbK7Ung0=; b=W0RjixBWiX4jozFybj7TcI2hX6yFKjH1ekJvKI6LM8roR7GePbcc8B0VEe6E2JcwWxL5bt CQIgnfZlmAsAytAiTgsIyEGp7xqcMmfKYRZgkg+eQKxpU+ds3CG3cIqg3jLERH3/bQ+v7X XA6sMi8lEcg5i+OvZqFyXjEZQFRfn4ay4lUyWOeyHrr2Z912rLpS58F8q2wKFeZnnnl8fg goqvxSy8CRq8n1+Isch2bshMif6jFeKwcOrc3SCtj1Tl1xYPqei6vihP3AiC8jWJ87RQdw i6kOcKt266jUTg14l7HPMm9SOxO9qPFNE8R0+mokUmfvhwRMf7zm84sIP1GU6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726875291; a=rsa-sha256; cv=none; b=oLZEnfvVV6nedB5/jVM4XKvR0NgNr+/0cPjNgI5c2fg7yfn6v01E36Hiu7rseOIJYgWPcw MOo/+Rdc4TCPYrfk6iMLtFzCUyiMFqdvc+k3GG6sEiZdVcuDum3t+E/zULgME6MbMuckau chm128w4uJkpOLMxNvG48+HLh30Nh8D0dqqA36EyjWvvVf10AiDmVvhyOiee1wQ4mTkYIe eJx9kMGJKimo5tIvxoPrtMR1qjqkPehowRypjfiK4rcBHNifm/Kg/0ZWetq61niMA+C+iN ueKBP6LXe/VGOmB9UrXA1qcH5zIbMIvWgYloznGiR1bRyU7RLr2x2pZxj/A1iA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=EfSdJece; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Rk/T0Dpu"; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 86AC178127 for ; Sat, 21 Sep 2024 01:34:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srn9E-0000YX-DT; Fri, 20 Sep 2024 19:34:48 -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 1srn9C-0000X8-Rw for guix-patches@gnu.org; Fri, 20 Sep 2024 19:34:46 -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 1srn9C-0000RW-Is for guix-patches@gnu.org; Fri, 20 Sep 2024 19:34:46 -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=8rzww+kxBl2JkIjyBEGAqNp/QTPYii4EDxjwbK7Ung0=; b=EfSdJecefAJAvn5CCjW/NyRvilzNcCZSZ4Ep2sauXcxEeG06bWcy+jOJHZaEvu0Vb2XvzbK80NkAD0ynvwR18SWjZ0bkiK27Q4q0s8viaRQMuKWvjAYv3fmDaovOTgoopORu1iWawxGJzDQco5ceJss69BctXnoKYuZkPgv8IOq3px5FHExHUjpE6rHuOJq/HbLY8vW22/T/C3VnEGxWhrLl1H/xyksutfXAcvyoPjJIOZDWW/K+pa9HGM+AsSQZX3CBrAmnmKVL0x7VrXPeMD78OBv8OA1t0boX1VCpexBUO2a+SSrEkZEaUhh2DoHBaZ18DkV4um0HLXQT1JMS4Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srn9U-00040Q-Vk; Fri, 20 Sep 2024 19:35:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73399] [PATCH 23/26] gnu: Add python-webbpsf. 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: Fri, 20 Sep 2024 23:35:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73399 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73399@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 73399-submit@debbugs.gnu.org id=B73399.172687525815250 (code B ref 73399); Fri, 20 Sep 2024 23:35:04 +0000 Received: (at 73399) by debbugs.gnu.org; 20 Sep 2024 23:34:18 +0000 Received: from localhost ([127.0.0.1]:36687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srn8j-0003xo-NG for submit@debbugs.gnu.org; Fri, 20 Sep 2024 19:34:18 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:42426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srn8F-0003rJ-G7 for 73399@debbugs.gnu.org; Fri, 20 Sep 2024 19:33:48 -0400 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-42cbc38a997so15889375e9.1 for <73399@debbugs.gnu.org>; Fri, 20 Sep 2024 16:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726875142; x=1727479942; 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=8rzww+kxBl2JkIjyBEGAqNp/QTPYii4EDxjwbK7Ung0=; b=Rk/T0DpuDxUBLgLBgxSP68SA3SN2sFF/92/FJMYL9Kv6f3HZa2HvDGvnNkXIhYwokY 96Y6BHZ8xRxirliX4GoV4sdgq1ndel44qnr8gA+VHW6mhCLiExcA7VRRogwOMICCIm+i RenfQsiikPvgnjKC3UtoDmbqqrHNHWM68/FP+te+yw64g/eWJOQY8u6RTKCG3W3en4Nw 5HEs/9pe7Z49Jb6I5JmRjpC0Dx5glH/NXaMsgGh0/784Wfoe1PnJX4vWV1llgDmO8We4 lilvVBWbLNGubgKrTBs4iHf/t5CZ8fYn9PlxPzRjtmWzj0nnx+4Ty1L7SByq6hDO1Y3d dIjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726875142; x=1727479942; 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=8rzww+kxBl2JkIjyBEGAqNp/QTPYii4EDxjwbK7Ung0=; b=VIPqFG62erh7UfMgwp6K4l1aYsjLMWC2gGyhLWDNaJ6qz4scEpnwvpBDB49gJaQMs7 mMxlDlOdSNWBYEZHXubGSwuErLjajh/rOicmcs+/CoyytPnswpRisaFoFxiN/5cENtuv sDvKBKI7TulvU13JTyMle6PR6DT32iW7g2ACZpejS47MwJnxGrf7OcLqkb+fGCvLU9q+ Z6Q4A9uinRq9VKXkFbQd3Vph5eoSUubM6QxfOiwqFtxqOgB77yv/6tELH67ZpJpzC644 qG+aF5/91/shH/SE5aaixHWKdWv8BbF+3Mz7pmho5ahGQL5NhYNT/KlYZZ/CtQjVE0rX 31ng== X-Gm-Message-State: AOJu0Yy0b/MNC2YCBABtWOsRdsMjpJdom24Ji4t75gUXnEfobIHOXNHR ulQ5UC77fgZfntIALqRaZPuMZa1KtRBOhl/MFNM7cY6xv9NQ1LkTOwH+nZbn X-Google-Smtp-Source: AGHT+IG9dkFrxHpAA8BPRfuaRep/q6HjW2+Ozs2YS6kd3BZyZunvwgVlRECK/tdi7dIR2vnEwWDaJQ== X-Received: by 2002:a05:600c:1c26:b0:42c:b166:913 with SMTP id 5b1f17b1804b1-42e7a9e6201mr26105725e9.11.1726875142343; Fri, 20 Sep 2024 16:32:22 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e7afbfa1asm35353675e9.21.2024.09.20.16.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 16:32:21 -0700 (PDT) From: Sharlatan Hellseher Date: Sat, 21 Sep 2024 00:31:48 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 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 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.95 X-Migadu-Queue-Id: 86AC178127 X-Spam-Score: -8.95 X-TUID: qj8LJ+gloWA4 * gnu/packages/astronomy.scm (python-webbpsf): New variable. Change-Id: Ia439e0a3ebee219ae5d680b30cecde717611e579 --- gnu/packages/astronomy.scm | 61 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 74b0e63481..973e6af594 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -6039,6 +6039,67 @@ (define-public python-viresclient @url{https://aeolus.services, Aeolus}") (license license:expat))) +(define-public python-webbpsf + (package + (name "python-webbpsf") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "webbpsf" version)) + (sha256 + (base32 "1084vbk2q3kybxgvh8f2zbsi2w2z8zapsfjkgd6km4yhwqv1wl4a")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "--numprocesses" "auto" + "-k" (string-append + ;; Test requiring network access + "not test_monthly_trending_plot_auto_opdtable" + " and not test_monthly_trending_plot_opdtable_param" + " and not test_delta_wfe_around_time")) + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-env + (lambda _ + (setenv "HOME" "/tmp") + (setenv "WEBBPSF_PATH" + (string-append #$(this-package-input "webbpsf-data") + "/share/webbpsf-data"))))))) + (propagated-inputs + (list python-astropy + python-astroquery + python-matplotlib + python-numpy + python-photutils + python-poppy + python-pysiaf + python-scipy + python-synphot)) + (native-inputs + (list nss-certs-for-test + python-pytest + python-pytest-astropy + python-pytest-xdist + python-setuptools-scm)) + (inputs + (list + ;; Requried for installation, see + ;; , no + ;; licence provided. "To run WebbPSF, you must download these files and + ;; tell WebbPSF where to find them using the WEBBPSF_PATH environment + ;; variable." + webbpsf-data)) + (home-page "https://webbpsf.readthedocs.io/") + (synopsis "James Webb Space Telescope PSF simulation tool") + (description + "WebbPSF produces simulated PSFs for the James Webb Space Telescope, +NASA's flagship infrared space telescope. WebbPSF can simulate images for any +of the four science instruments plus the fine guidance sensor, including both +direct imaging, coronagraphic, and spectroscopic modes.") + (license license:bsd-3))) + (define-public python-wiimatch (package (name "python-wiimatch") -- 2.46.0