From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qNT1DxAqkWOcfQAAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 01:04:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IAEVEBAqkWOkSQAAauVa8A (envelope-from ) for ; Thu, 08 Dec 2022 01:04:32 +0100 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 D0D34D365 for ; Thu, 8 Dec 2022 01:04:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p34Om-0000X8-VM; Wed, 07 Dec 2022 19:04:25 -0500 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 1p34OR-0000PO-J9 for guix-patches@gnu.org; Wed, 07 Dec 2022 19:04:11 -0500 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 1p34OQ-0004ny-Ef for guix-patches@gnu.org; Wed, 07 Dec 2022 19:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p34OQ-0004qy-3f for guix-patches@gnu.org; Wed, 07 Dec 2022 19:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59892] [PATCH] gnu: Add python-poppy. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Dec 2022 00:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59892 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59892@debbugs.gnu.org Cc: Sharlatan Hellseher X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167045778918639 (code B ref -1); Thu, 08 Dec 2022 00:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Dec 2022 00:03:09 +0000 Received: from localhost ([127.0.0.1]:52975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p34NZ-0004qY-3j for submit@debbugs.gnu.org; Wed, 07 Dec 2022 19:03:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:47544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p34NX-0004qS-LZ for submit@debbugs.gnu.org; Wed, 07 Dec 2022 19:03:08 -0500 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 1p34NX-0000GN-H9 for guix-patches@gnu.org; Wed, 07 Dec 2022 19:03:07 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p34NV-0004Tg-GK for guix-patches@gnu.org; Wed, 07 Dec 2022 19:03:07 -0500 Received: by mail-wr1-x429.google.com with SMTP id f18so30453626wrj.5 for ; Wed, 07 Dec 2022 16:03:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jqE608MZXFf9bY1xHHpC2IshKG9HzSeYxUS5Jlwy0s8=; b=oGeEiVKRPJVJ7Nqybmh17hGGN+1nq750YQcr1gl/U46vonj9bo86HUdxvrU2TPOgsd nKW6AwhJUAKOhBINKBe4zvbLShTV55UTDav9553qk5bFJOCdX+avoEYzoH3e/BglyZZO kDvLcmzlhePtNDbnnTNxCvKlXvE3a8/arEsxlWnf33DYcn9JLbbDyyw32neK82ZvaQBd rnc/PUSpS+3DxaLPw1vfHywy8yUwTg1YV55O9rLuO1EAn+iO5Hj8rP+pDtEnWBo72PJa VwaH983RlY9XPPKuCCKrqUrDgdxvJlYmNILWcztvFss2nAKn9mMZHKr8/EngZhfj6hGe I/7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jqE608MZXFf9bY1xHHpC2IshKG9HzSeYxUS5Jlwy0s8=; b=VPK+FU7B62lrHlMIPI4CRRPHaeWmar9bl73A7sy4RkeFkoM585IHQSHttco4GZv2Fl BE1CvKzedJ3AP0ENVLE6HSBIuQrwyISi8ke9ynSM4nry8XFmI7mo/R7mvCPC6IAxF0DI xSsaRZL6ninQwFajbUU8UusgSpjn+KUw0C2TzG7T3L8NWizYaVApUDhyn6+aak26JBWy 4np7cCuU9KNRPP6ZwlWVhVLj90QgOzQw1B/49phrERlaRqZHhoJ4rEI8EpVTI33JSiSn 6TS/4iZsO81TekL+HSFUGhh29PM2Rmvo+aDPHEMu1LjKA/q5CLaxjEAWWkJ0Wioim4+q BnNw== X-Gm-Message-State: ANoB5pnjyzvZOK4n0o0HYqPfPVofNLJmCxkL1+qyj9nOW8u32zGTZLI4 s2jov55dYSppAbUSyz83rCUge9UuQ6o= X-Google-Smtp-Source: AA0mqf7fn/nseQs6JXlZbdzS8+TDoTuA6md32+gOxAdVJONn1REXXr6oiRDk4/9z2jSu/TYvEnHDcw== X-Received: by 2002:adf:e2c1:0:b0:242:2875:94f with SMTP id d1-20020adfe2c1000000b002422875094fmr673087wrj.63.1670457783056; Wed, 07 Dec 2022 16:03:03 -0800 (PST) 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 o29-20020adfa11d000000b0024278304ef6sm5412441wro.13.2022.12.07.16.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 16:03:02 -0800 (PST) From: Sharlatan Hellseher Date: Thu, 8 Dec 2022 00:02:59 +0000 Message-Id: <20221208000259.18624-1-sharlatanus@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670457871; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jqE608MZXFf9bY1xHHpC2IshKG9HzSeYxUS5Jlwy0s8=; b=eoNyCPvKmgH6v/dwOdUBBJuy6GgjKYN3364TOx/7WzMpEZpabOUh17UjWe6Xfug55fBCIb oH8QGhStjP6nSMHtBtY5IjM/2P2thOOinajoMIhqh+Zvw/4xyahVUtIBkxIqaZeGIj8Z+1 WWU1qr1oIe7MmWrVaJYjBouOFAaFgjP4DIFRC2hFOe7Fl5gyjn3I8h1QSKe0PmNQ1TNg53 wvDNF5sDF+4cAN0OLfWpvSN5W5zFQd9a3yGUYG9aGr6gHedFtl2k7qVOTc8xXq2+G9YPb5 n92XqPYrAf/NSzuXGF8xQ9Vh55q2hdzsbELHbbRZ8UeUnMuPs97MpPidiqiK5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670457871; a=rsa-sha256; cv=none; b=a0aAuxlOjdYhORmFCrMAdMe1bikqKsKR0CtWv0+wQvzX/NuHLorQbLhvgHQGBZ7Hyykc6o 1300tqGguLckBOJcqdfwavEZOPBAX2IqvEsjebnjr/TF9NW86R/Ba3peLnLH6SAqUEPEId KfLmBCrD1CaAw6ZdEKr7V9fc+fHPz9qqpTSnBH5WWVwuPWKVMLFQaP/A6YCjsUXfNHp+iu RerzYs7xa0cAWSgJEaL3GW20UnELzEryE+tHTi6fpQIVrOiHj4srCUElBJISEuxkCiQ+ui HtGLel1XpFlfpZMXmwbJd9n8fHZoMbFoAXpDO9koTWAxUVzWgmIxIhq9Kd087A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oGeEiVKR; 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-Migadu-Spam-Score: 6.54 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oGeEiVKR; 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-Migadu-Queue-Id: D0D34D365 X-Spam-Score: 6.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: x/TpaEiz/suG * gnu/packages/astronomy.scm (python-poppy): New variable. --- gnu/packages/astronomy.scm | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index c59f4d02a4..fb00a90129 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -66,6 +66,7 @@ (define-module (gnu packages astronomy) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages readline) + #:use-module (gnu packages sphinx) #:use-module (gnu packages textutils) #:use-module (gnu packages time) #:use-module (gnu packages version-control) @@ -1336,6 +1337,50 @@ (define-public python-photutils of astronomical sources.") (license license:bsd-3))) +(define-public python-poppy + (package + (name "python-poppy") + (version "1.0.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "poppy" version)) + (sha256 + (base32 + "050cn6aabd1dxbi7zihbqnkl79hz6q6d5n6g25zmrpvc4sii171m")))) + (build-system pyproject-build-system) + (propagated-inputs + ;; XXX: With python-synphot (marked as optional) package added to the list + ;; it tries to download from remote host during tests and fails. Overall + ;; tests take up to 5-8min to pass. + (list python-astropy + python-matplotlib + python-numpy + python-scipy)) + (native-inputs + (list python-docutils + python-h5py + python-pandas + python-pytest + python-pytest-astropy + python-sphinx + python-setuptools-scm)) + (home-page "https://poppy-optics.readthedocs.io/") + (synopsis "Physical Optics Propagation in Python") + (description + "@acronym{POPPY, Physical Optics Propagation in Python} is a Python package that +simulates physical optical propagation including diffraction. It implements a +flexible framework for modeling Fraunhofer and Fresnel diffraction and point +spread function formation, particularly in the context of astronomical +telescopes. + +POPPY was developed as part of a simulation package for the James Webb Space +Telescope, but is more broadly applicable to many kinds of imaging simulations. +It is not, however, a substitute for high fidelity optical design software such +as Zemax or Code V, but rather is intended as a lightweight alternative for +cases for which diffractive rather than geometric optics is the topic of +interest, and which require portability between platforms or ease of scripting.") + (license license:bsd-3))) + (define-public python-pyvo (package (name "python-pyvo") -- 2.38.1