From patchwork Tue May 30 19:58:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 50506 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 B400C27BBE9; Tue, 30 May 2023 21:01:34 +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=unavailable 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 B7BA127BBF4 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 1q45Vq-00037d-9j; Tue, 30 May 2023 16:00:10 -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 1q45Vn-00036D-Dh for guix-patches@gnu.org; Tue, 30 May 2023 16:00:07 -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 1q45Vn-0006dC-49 for guix-patches@gnu.org; Tue, 30 May 2023 16:00:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q45Vm-00011u-VO; Tue, 30 May 2023 16:00:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63806] [PATCH 09/18] gnu: Add python-stsynphot. 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:06 +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.16854767513685 (code B ref 63806); Tue, 30 May 2023 20:00:06 +0000 Received: (at 63806) by debbugs.gnu.org; 30 May 2023 19:59:11 +0000 Received: from localhost ([127.0.0.1]:34231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Us-0000xF-C4 for submit@debbugs.gnu.org; Tue, 30 May 2023 15:59:10 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:47367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Uq-0000vU-Tr for 63806@debbugs.gnu.org; Tue, 30 May 2023 15:59:09 -0400 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3078cc99232so4707607f8f.3 for <63806@debbugs.gnu.org>; Tue, 30 May 2023 12:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685476743; x=1688068743; 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=0bJdebxxLvogRgYjfMMxk8ewyrjTEiS5KGNigSyY/gg=; b=cslL5xbpEolUAZIOmjk/UMYt3uvvFfy8pa6JGzRoIZn02sfjFmT5hUAr7Y+bVLUysL uFBL7uCB/OG9IFefpPGN8crUgW2n+jGB4jV6vs9U4Do9uahF445I253FqY9+ttVg5Q8o LKIx1GgG9jrUhSZxl6PrrKAwY6adZ3TfT3+gCj2E8Arr4+QLTPeizJU+WrxtVrq3zsIQ GE6+7e18/R4Z8a+jyKLLo6LQUJtN2apNOmqqbSj4ScA4dGHv5Hn+k/dYCDdS4f5Cj3XX AiMOFEkCL/kDr1cpBGcw8tZPER0IMsIhOc80foWTEyw1U2tWefnMMqNvgpBdXfD3TQh2 8uSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685476743; x=1688068743; 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=0bJdebxxLvogRgYjfMMxk8ewyrjTEiS5KGNigSyY/gg=; b=VrBaRLR4xB3psB8gddV4D15o4UjoWomSCIQH2b1JqkW1Rv7UlOGdycATOrEmzHn77M Z1WnT5FK1i9oT1vD/zUqZOgYmjKuvJrS4UwiwLsu6MrPVzeWrRwUxfp3dNlBTZc7QSca E8QO7tcLNkFCCiSeA0YXUFUbMyCvp5CenHDpn/6au30kC76Oa6TfniVgd+29koxwvyPz +e0oWNuzoe/yGDY/vmFvA5Oz/0a/iZyj3YEmVryt8DZcOPD8DXTGoM3H0r8AmhktLH3f OJge7IbzGRzuu8+3U+nKSHCRSMTd7M4mz808u+vSWpob1j0Wd14UXrB0bci9IDxlddon k0IQ== X-Gm-Message-State: AC+VfDxdrTA4VAsRokbzHae7pJ4GAd9xJ3nYA9JZ//U53vc4hiXj2WOv fu0hd1pwSGc9QIrx3HPtoYeyTgRDKRA= X-Google-Smtp-Source: ACHHUZ54n6g7hIvKAFzG4yqB34A8RVRAsMAaQedWar57ZhoxmgttqmDaAlqRQBvhK7o6Ea3wDjv3mw== X-Received: by 2002:adf:e74d:0:b0:2f7:8f62:1a45 with SMTP id c13-20020adfe74d000000b002f78f621a45mr3383576wrn.66.1685476743295; Tue, 30 May 2023 12:59:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 12:59:03 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 30 May 2023 20:58:39 +0100 Message-Id: <53d84e2e9a593c5e9fd340027535ee9d37bf3213.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-stsynphot): New variable. --- gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 9373eaed40..5b673350ba 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2120,6 +2120,40 @@ (define-public python-stsci-stimage image processing functions: @code{xyxymatch}, @code{geomap}.") (license license:bsd-3))) +(define-public python-stsynphot + (package + (name "python-stsynphot") + (version "1.2.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "stsynphot" version)) + (sha256 + (base32 + "0qkdh47j84v7fzri7bmi1jcmggdqq0a8byamfm73d8mbz86v8sn4")))) + (build-system pyproject-build-system) + (arguments + (list + ;; XXX: Tests fails on missing file, it might need to be downloaded, + ;; disable them for now. astropy.utils.exceptions.AstropyUserWarning: + ;; Failed to load Vega spectrum from + ;; /grp/redcat/trds/calspec/alpha_lyr_stis_010.fits; + #:tests? #f)) + (propagated-inputs (list python-astropy + python-beautifulsoup4 + python-matplotlib + python-numpy + python-scipy + python-synphot)) + (native-inputs (list python-pytest python-pytest-astropy + python-pytest-astropy-header python-setuptools-scm)) + (home-page "https://github.com/spacetelescope/stsynphot_refactor") + (synopsis "Synthetic photometry using Astropy for HST and JWST") + (description + "This package provides a replacement for IRAF STSDAS SYNPHOT +and ASTROLIB PYSYNPHOT, utilizing Astropy covering instrument specific portions +of the old packages for HST.") + (license license:bsd-3))) + (define-public libnova (package (name "libnova")