From patchwork Tue May 30 19:58:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 50496 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 17CA927BBE2; Tue, 30 May 2023 21:00:59 +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 1123A27BBEA for ; Tue, 30 May 2023 21:00:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q45Vm-00035j-L3; Tue, 30 May 2023 16:00:06 -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 1q45Vk-00034O-LE for guix-patches@gnu.org; Tue, 30 May 2023 16:00:04 -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 1q45Vk-0006Yi-Cb for guix-patches@gnu.org; Tue, 30 May 2023 16:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q45Vj-000111-4U; Tue, 30 May 2023 16:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63806] [PATCH 01/18] gnu: Add python-pysynshot. 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:03 +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.16854767483626 (code B ref 63806); Tue, 30 May 2023 20:00:03 +0000 Received: (at 63806) by debbugs.gnu.org; 30 May 2023 19:59:08 +0000 Received: from localhost ([127.0.0.1]:34216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Uq-0000wD-3Q for submit@debbugs.gnu.org; Tue, 30 May 2023 15:59:08 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:45256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Ul-0000uy-Rk for 63806@debbugs.gnu.org; Tue, 30 May 2023 15:59:05 -0400 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-30ae4ec1ac7so2498559f8f.2 for <63806@debbugs.gnu.org>; Tue, 30 May 2023 12:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685476738; x=1688068738; 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=mpgRkU9136LHHRB9mcAP5gkecx0wk8e3Cj5qVUxgGo0=; b=YvtN6OWZb15rGEgLOO6LWY5X3eWM2/C+r+TCaFx4eeZ8eUOxk4ulYd4/h/ix0QkNqM qFOlzHYe7fEokNEb2nCFg1gAxT2Uwsimle9ip6Huc3IyK3d/8PPOZXYMmdL2PRCw1k9U k+AvXH3GxfWNYhiI2qLrRnX+wu0uaP8NBx9DJN91BAz33TrdY4eD3z22ASqvD7iOP9cB P6E4grRCt/+xS6tvXhlxtWX51Ts5nGiQCtPY7SUfWEd06fbTOGykr5h2yg6KH3Uy1cl4 F/NHnZCVHmoibXzM+k59cTH8fve/fHdQhgNlBAD1dPJalpe5a0YBKE28MNxvjYPuZOmp XxMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685476738; x=1688068738; 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=mpgRkU9136LHHRB9mcAP5gkecx0wk8e3Cj5qVUxgGo0=; b=lT3MlDo7BWUHyf7fxu7vMgyAt+gzyL3NuTqyKxUm6aXnPivXUsRKJIdCY3GDFKb00W wAVrlbjznnkINlBTYof+Sk/LFQMcPTWBsFqzrXNb8KU7OjTzcmk3z0yQlC7reqVY14m0 FiSA3EDx/X1JRWSeWEPfZVr7rAMS4/AZSkG17mFrWrmKTkJNf/RG2kIdF6HpEG8Kgfzf BY5MUNVj5MHllwBt7P45DghCDxBjygLs0f3QfMBn7ooAxu04eg1ZwGAFEZ68YbnFtX91 34xOzSAyJtGGU/Vxj6T/poGcb9YzIl7FNxEaXeSbsfz3XTapziErO0ZGLA3wPIBZyO7c SzNg== X-Gm-Message-State: AC+VfDyNb9g/kuh3ldXSMFrhqlufOFksRTcHzs7kbRfuj0dQU8sUGrOZ Qwi2iK4JcyCsQboBpKTeyjeThzI9PfI= X-Google-Smtp-Source: ACHHUZ7KAdJRaVokD5onKiVSzOBX0FpMXlMvDbKSrvjly0gAsYEyKur1hKrhx7q5e8A/QUxQkOCPpg== X-Received: by 2002:a5d:4eca:0:b0:304:6762:2490 with SMTP id s10-20020a5d4eca000000b0030467622490mr2395078wrv.3.1685476737717; Tue, 30 May 2023 12:58:57 -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.58.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 12:58:57 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 30 May 2023 20:58:31 +0100 Message-Id: <689752c22c5bec055b487f45d696cb6da0e647b6.1685475210.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 * gnp/packages/astronomy.scm (python-pysynshot): New variable. --- gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 964e72642c..5429cceeae 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2687,6 +2687,38 @@ (define-public python-pynbody N-Chilada and RAMSES AMR outputs.") (license license:gpl3+))) +(define-public python-pysynphot + (package + (name "python-pysynphot") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "pysynphot" version)) + (sha256 + (base32 + "1rr29m63bnj47f6gvbvg3pm1296x14ad29c6qd0sdj4f4ilrzhj5")))) + (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-before 'check 'set-env-data-path + (lambda _ + (setenv "PYSYN_CDBS" + (string-append #$output "/crds"))))))) + (native-inputs (list python-pytest python-pytest-remotedata + python-setuptools-scm)) + (propagated-inputs (list python-astropy python-beautifulsoup4 python-numpy + python-pytest-astropy-header python-six)) + (home-page "https://github.com/spacetelescope/pysynphot") + (synopsis "Python Synthetic Photometry Utilities") + (description + "Astrolib PySynphot (hereafter referred to only as pysynphot) is an +object-oriented replacement for STSDAS SYNPHOT synthetic photometry package in +IRAF. @code{pysynphot} simulates photometric data and spectra as they are observed +with the Hubble Space Telescope (HST). Passbands for standard photometric +systems are available, and users can incorporate their own filters, spectra, and +data.") + (license license:bsd-3))) + (define-public python-sep (package (inherit libsep)