From patchwork Tue May 30 19:58:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 50501 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 E41D927BBEA; Tue, 30 May 2023 21:01:29 +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 B553827BBE9 for ; Tue, 30 May 2023 21:01:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q45Vq-00038W-P4; 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-V8 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-0006dM-Mm 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 1q45Vn-000128-Ip; Tue, 30 May 2023 16:00:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63806] [PATCH 08/18] gnu: Add python-synphot. 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:07 +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.16854767513702 (code B ref 63806); Tue, 30 May 2023 20:00:07 +0000 Received: (at 63806) by debbugs.gnu.org; 30 May 2023 19:59:11 +0000 Received: from localhost ([127.0.0.1]:34234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Ut-0000xO-1b for submit@debbugs.gnu.org; Tue, 30 May 2023 15:59:11 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:55529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q45Uq-0000vT-Hw for 63806@debbugs.gnu.org; Tue, 30 May 2023 15:59:09 -0400 Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-3f6d7abe934so35585685e9.2 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=1685476742; x=1688068742; 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=DmYpJkAWU5NtHENbn2zVaBRIpUjCjPjoCP2Q2nTeaWs=; b=flMPhQJM5MAVO1RFFqkjohm5rxosyYISKlhqrgzbUeVckd9h1OrYv+p+oPp5Vmw9KC DFbqdsGq0gyI6S2cJenv32oZL8oQmqrwg+OhL2kYpjCslbThCfeHYK2aebZi5+WDspmo I6j3vWjJDwAFz5rzcD0KpeDI7gBXcTwB6b9bmnkBTij8FqWl2cI/whozU523FO36Yua3 9C+L9DkKHvZC8dyCEVRvM/8Geda39BS/JJuYU9clMARIyNCauIf2O6eb1Dv154z3uiiY yiPNXFhmNDFKSljWq+B072OY33A8JULio2TAQ0V1Mi4mOxtaO7L3XvSvxgfhrMtkpmW6 UpfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685476742; x=1688068742; 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=DmYpJkAWU5NtHENbn2zVaBRIpUjCjPjoCP2Q2nTeaWs=; b=T5gtK3yUuH2qWDJuvjNL8mb9Bdk5inZe1rfTKXCtAIxFaLdSN22xJpHCtG10QBnTFH IMLe9yeXmbjjKcFkdIktAi3Y7SQ7VW2wPL2jfYFQfWqNWO21tSo+wELPEqM6Z0dkdltB NAWThHpKOcOi4nh3Ezi+RPXHqmL26j6KaO93oQeDH9oIgQHyZreuEXQ3JLDkTSywPchH cnxz0wS2L2l3OTzChodumZhm9T2nlwX3Okod/9H21BwoUAItBSLfi7tWUQFpBVE/ZUgt /loRJ3nixHsYHbnu6usOcCPeJcIeFJz7DxGBaY9JOjzQDWrnfUfYssnKt1Sjdpi+rp2Q 1A3w== X-Gm-Message-State: AC+VfDwmuTE6gM+5r6JzZXwZYJNluA0YPlGWYVzICXWHHuhUOwN9BAWa RAxIiCGfRGZNt+Lkbt/QrCHMzoM9wX4= X-Google-Smtp-Source: ACHHUZ5kGAYjgR94KWacUNJ2me4HDqHThi2YHNHYwY1DpQddu0mIjhFlynWLDvHapADHkICIctY/WA== X-Received: by 2002:a05:6000:1103:b0:309:4b55:419d with SMTP id z3-20020a056000110300b003094b55419dmr2578551wrw.8.1685476742641; Tue, 30 May 2023 12:59:02 -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:02 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 30 May 2023 20:58:38 +0100 Message-Id: <2bd7e5661b0d4031532b325e2f6dce974921e9f9.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 * gnu/packages/astronomy.scm (python-synphot): New variable. --- gnu/packages/astronomy.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index c2df8eae69..9373eaed40 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2830,6 +2830,35 @@ (define-public python-suntime datetime object.") (license license:lgpl3+))) +(define-public python-synphot + (package + (name "python-synphot") + (version "1.2.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "synphot" version)) + (sha256 + (base32 + "02pjp1bnbyq7zi1bxqv56nif4ijd8fscmnn9ldrs8yvgsbmgdvlc")))) + (build-system pyproject-build-system) + (arguments + (list + ;; XXX: Test needs more love to pass. + ;; + ;; ERROR collecting synphot/tests/test_utils.py + ;; + #:tests? #f)) + (propagated-inputs (list python-astropy python-numpy python-scipy)) + (native-inputs (list python-pytest python-pytest-astropy + python-setuptools-scm)) + (home-page "https://github.com/spacetelescope/synphot_refactor") + (synopsis "Synthetic photometry using Astropy") + (description + "This package provides a replacement for IRAF STSDAS SYNPHOT and ASTROLIB +PYSYNPHOT, utilizing Astropy and covering the non-instrument specific portions +of the old packages.") + (license license:bsd-3))) + (define-public python-tweakwcs (package (name "python-tweakwcs")