From patchwork Tue Feb 20 23:43:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 60847 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 C3A3627BBE2; Tue, 20 Feb 2024 23:47:20 +0000 (GMT) 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, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED 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 4E56527BBF2 for ; Tue, 20 Feb 2024 23:47:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcZpJ-0008NN-LH; Tue, 20 Feb 2024 18:47:05 -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 1rcZp3-00085x-Ge for guix-patches@gnu.org; Tue, 20 Feb 2024 18:46:52 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rcZp3-0000RT-7v for guix-patches@gnu.org; Tue, 20 Feb 2024 18:46:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rcZpO-0000h0-I0; Tue, 20 Feb 2024 18:47:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69295] [PATCH 42/46] gnu: Add python-radiospectra. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 20 Feb 2024 23:47:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69295 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69295@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 69295-submit@debbugs.gnu.org id=B69295.17084728242517 (code B ref 69295); Tue, 20 Feb 2024 23:47:10 +0000 Received: (at 69295) by debbugs.gnu.org; 20 Feb 2024 23:47:04 +0000 Received: from localhost ([127.0.0.1]:47218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcZpH-0000eI-J0 for submit@debbugs.gnu.org; Tue, 20 Feb 2024 18:47:04 -0500 Received: from mail-wm1-f43.google.com ([209.85.128.43]:54476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcZoB-0000Th-Ha for 69295@debbugs.gnu.org; Tue, 20 Feb 2024 18:45:56 -0500 Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-41275855dc4so92705e9.0 for <69295@debbugs.gnu.org>; Tue, 20 Feb 2024 15:45:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708472668; x=1709077468; darn=debbugs.gnu.org; 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=FORoFSRZRMOTt06BM3CbB1FsPoGchbM44EL4hboA4TM=; b=P0XyT98maktbFcD8213Gu3k4+w3H4XA1vLHHcQFcl/ewEJbagDGIn065E3AhhD4VMD XWzia60cfNQbWbnYSLOP4PaBfQohOa518/SUa6nMk5omOJ1+HKke7ZaVOSg/aWWSK1gJ yT+GG4LLHuKHv0SH3jiChoZlyKCDvnfn6blo1alUpnasQ5CgpvoetwAVuh1+ZDCeeGP/ BZRDSuDoHZCHPgR4aDKNS/R+chwhFsyG7wi3m7m8XL5s3Y7fN39o3cdFqQ+5YU5az5I+ 678u33HF/VBC23q8IKm7K2AgiGwReI5GEOiN9onZdT3NAFlQzPFoMEXMEACgXAkEpAHe 7oSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708472668; x=1709077468; 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=FORoFSRZRMOTt06BM3CbB1FsPoGchbM44EL4hboA4TM=; b=BavbkanZXFpVuf0dj/L+2YOJHW2MkKMB0n/LwX4cS/ykM5y4KVFTzpebKmAO0WkuQ8 +U+mjqHfl+eZ2zna6BToyiYCa6Q2BeAvP0rQ228NsB5zS4Tnlvd0u11TfSUkhbhrnMNt EE6ZcPNzMKGU67odCzHHN20/w3+axMhzdfCv9oocwRsB87BcPXY9CuMZKZcFpx9Qoo2U v691Dxa2/7J8ioKCP5wJlJ0dQWcGnL9+4rrPLgPkNGHp3BGEz5CxZSi3C8ZVSGM03FSJ OF+CHkbxKixHzvXKtf5LAeQasnFo2SYO74livu3iVKBZWkBKpw2t6tWpnM03D6+K1yvt wXag== X-Gm-Message-State: AOJu0YyNMtuyjobUzRD9KU5XwT8zhlcHW7r4ZxEel29Gzcq8BFusVLz7 fMp7bCFybqEy/oWhE3RFItH4JAYCDFPZ/iCooAhl8foiHPuGJMUzAO3l7psDuSD/Jg== X-Google-Smtp-Source: AGHT+IHI+g1b6E7d7obOwdrKxEz1dIjgon0W8a2bu4TOnCM6+lMXgM/vm+3bBIPsoZfDLNL+mxTKkg== X-Received: by 2002:a05:600c:3506:b0:411:df3b:b43d with SMTP id h6-20020a05600c350600b00411df3bb43dmr10982892wmq.8.1708472667918; Tue, 20 Feb 2024 15:44:27 -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 n22-20020a05600c4f9600b00411a6ce0f99sm16347385wmq.24.2024.02.20.15.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 15:44:27 -0800 (PST) From: Sharlatan Hellseher Date: Tue, 20 Feb 2024 23:43:40 +0000 Message-ID: <9fdc0719c1a33918b978353ecc5a594d23686b94.1708471786.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 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-radiospectra): New variable. Change-Id: I98f488671a16ce8e937a76f00b58e70119b7760a --- gnu/packages/astronomy.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index f6b58a5a87..03d43e5a06 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4600,6 +4600,43 @@ (define-public python-radio-beam @end itemize") (license license:bsd-3))) +(define-public python-radiospectra + (package + (name "python-radiospectra") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "radiospectra" version)) + (sha256 + (base32 "0gq61ywk7li0gxwmp4hp2hc4zbrlqgn8zy0sz24qh55kn5l5gxjr")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-home-env + (lambda _ + ;; Tests require HOME to be set. + ;; Permission denied: '/homeless-shelter' + (setenv "HOME" "/tmp")))))) + (propagated-inputs + (list python-cdflib + python-matplotlib + python-numpy + python-scipy + python-sunpy)) + (native-inputs + (list python-pytest-astropy + python-setuptools-scm + python-sunpy-soar)) + (home-page "https://docs.sunpy.org/projects/radiospectra") + (synopsis "Support for radio spectra on solar physics") + (description + "@code{radiospectra} provides support for some type of radio spectra in +solar physics.") + (license license:bsd-2))) + (define-public python-roman-datamodels (package (name "python-roman-datamodels")