From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sJNeDflVdmQsLwAASxT56A (envelope-from ) for ; Tue, 30 May 2023 22:00:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QFhqDPlVdmR0ZgEAG6o9tA (envelope-from ) for ; Tue, 30 May 2023 22:00:57 +0200 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 ED9051919F for ; Tue, 30 May 2023 22:00:56 +0200 (CEST) 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 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685476857; a=rsa-sha256; cv=none; b=NdKqEGnodjHrQ94BpRuL7hMhGAxfUg6256IKvvFGE5vG61tRm6cdNHiZvfHJcIOAG/+i09 fw9PJbWvN2mmM8q1OLrAr44bpDWLGLZM0PptZw3O+lm1gOSQabRkGE/evPMpGStPxaFmBb EXDaoPOiGV2+LRZo1E+qvuEx466jDB6Z3FOYyU1ap6L97WRPzO/sMJ9TlZwHMAu7xIO9PC s18upLUXM2/KCQzG+ReZuCaqf4XFt6jwV8EiKGbsLCcRC/3JqOXJJnpKZy5HWJhewf0uSU TsuYS1yC7S/q6hH/jf3KIfHh+0BkMmD3LTnOhGr0idfi7ab6mtIf2nXeaLPV5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=YvtN6OWZ; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685476857; 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=mpgRkU9136LHHRB9mcAP5gkecx0wk8e3Cj5qVUxgGo0=; b=o5MkKlIlnZgsPe53NO+3A/IukDLu6ha3h4oFNTYQF8tUERnG7a1CutrDcy5ctQo5uD9OH+ 8Bq28sHL19YM3txHcZd9AIieRxzbIrvXdT6MGrPopG5J+evVeszmtpOgtC06AxV1EieTXd mxarQYCKpOMjAwwj4wVXgTXywDdNvIXJ64Cj4oJNp4z7n3xLan3aPEhsJ7+amL62JI6klM WuMVedKSA8v9BIwsFbAc5xcChdNIEH6u2MlvDPGKBK9g71dlRmhAvX3VcLb9omscUINm5l ImdRS62pV2c8PZAbaGfVVxVd3Ok2+/yvhwKZQRxrP7szfPjiogZzEypsYLrPOQ== X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=YvtN6OWZ; 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-Spam: Yes X-Migadu-Spam-Score: 8.86 X-Spam-Score: 8.86 X-Migadu-Queue-Id: ED9051919F X-TUID: ietW7Xzs/sSe * 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) -- 2.40.1