From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eAfxIJ5MrWXrYQEA62LTzQ:P1 (envelope-from ) for ; Sun, 21 Jan 2024 17:55:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eAfxIJ5MrWXrYQEA62LTzQ (envelope-from ) for ; Sun, 21 Jan 2024 17:55:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iBgrd0Jt; 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-Seal: i=1; s=key1; d=yhetil.org; t=1705856158; a=rsa-sha256; cv=none; b=cSCvsAw+YzC7wJSf/aYV34kt0rcTQDZk1gLMKurN96bCdL/RdsLsr8Ssq4BtywMAZRapnc TLJqccCy4qGcPkxyGa72oT7Yh/vO06s5NImRW6HJcimorYgb23Z1Sk5lgTT2+QGyE7apEC +SenBJ4OKMviKWnmx1IZkSbYfK9I2zD7S+TQ1Rx08u+HWODgWgLUDAWSprArq4Tdv0zN9x cwFAIxOHKmOomfhO3FKfKrC+bpUIkNPmzZA08Jv4jd7FeahaYvHrDFlL37vB9oJ47VpvV3 BSrtVrScxEuoaexd/LtABgNa+ypWr7w17cTTz76JgcP2fno+/DwAvPuy6cMHUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iBgrd0Jt; 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=1705856158; 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=dE3MrxJiG0TfnzgmoS0aZ52ONQgsD56JeFJ2ESGDvWQ=; b=XOch+fx9wHRewN1a0WCys21vF7Li7pgOCd8DQBPsZFlLlH0LsD87vduuSDxTyifn1PZkze Ij93R/NTvl1NhjUTjx5VkHeBYvTfnZqe0uNCRmwAQdr4zXcwTLnV44ICV5tPeC81T8ZaZ/ 4vCfqkOXcPWQ2Iohpjsy8BqHReKMY3+BmwAJmlQ3B4XIqbfYYULIZYm6MlAXqTIcfF4a6c LgG7Uj+IJhmFdUa281OAtqDRc5rcL77Ba0KKL9C2xwWQJWBICGlF8tpVgCRj/tPtJwgKON wg2yRtZhzegSjKG0x65rj9zBS70U5RUxhHvasA6QxwJXSUVGW5HneSeH0V3/1A== 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 3ED557C3F7 for ; Sun, 21 Jan 2024 17:55:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRb6b-0003ZZ-Jv; Sun, 21 Jan 2024 11:55:33 -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 1rRb6C-0003GJ-BY for guix-patches@gnu.org; Sun, 21 Jan 2024 11:55:08 -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 1rRb69-0004Cr-ST for guix-patches@gnu.org; Sun, 21 Jan 2024 11:55:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRb6A-0007gX-Rh; Sun, 21 Jan 2024 11:55:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68641] [PATCH 10/19] gnu: Add python-ndcube. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 21 Jan 2024 16:55:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68641 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68641@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Efraim Flashner , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier , Sharlatan Hellseher Received: via spool by 68641-submit@debbugs.gnu.org id=B68641.170585607329350 (code B ref 68641); Sun, 21 Jan 2024 16:55:06 +0000 Received: (at 68641) by debbugs.gnu.org; 21 Jan 2024 16:54:33 +0000 Received: from localhost ([127.0.0.1]:38754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRb5c-0007dE-Kd for submit@debbugs.gnu.org; Sun, 21 Jan 2024 11:54:33 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:43144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRb5R-0007a9-LP for 68641@debbugs.gnu.org; Sun, 21 Jan 2024 11:54:22 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40e490c2115so20424215e9.0 for <68641@debbugs.gnu.org>; Sun, 21 Jan 2024 08:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705856052; x=1706460852; 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=dE3MrxJiG0TfnzgmoS0aZ52ONQgsD56JeFJ2ESGDvWQ=; b=iBgrd0Jtk1qcBQDMPnG4m9hoobF6T3uY69CgmSXO8qBu0HVAvS+cFaHyk0OOG3YrGU aOJdDko85n0d3ia6xLLLaGBjBvHrOFRlDdiKwv+LW4u9/coAMmjsGJa9FVCbLhNiNH5k l85OQRQ3P51zpowMuoAtL6Ydoh4sxWRedjXs5oHioreHaEHutUVxN6RAyMAnNB1zlc0H 6trn7474wRf/n+Xq4qtncQSVuPvz3Y96a39vrombG6gvO5+DGfIqmAHnF4Fcrxx85HI+ OV/RznX9LPL0EgK8e1oPedg+mQekQKExpdLWCS44Cw0RnvdmWJO2G4a3rlbXZKV8LzyZ X+9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705856052; x=1706460852; 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=dE3MrxJiG0TfnzgmoS0aZ52ONQgsD56JeFJ2ESGDvWQ=; b=DaZn/X4Rwj8ulUg+/CKmsRnSTpblGL9kuxiYl7glOPt1JaRQhIZpPQISZFuGSh2Vce U5D45zlQtcjeMMRuLltdtYXOQFfPyXQ9YH0D2kIPMEtrsnLtlkH/aBJ1ZmBgdPuJmHMq kmCr5DeGbTj9n66RkQeavG5YUTy36TwXWKgcPHdfBOaTxeq0/wnrz7SVgKp5QbsQh4Sw ijsZRQM+fP8CT5suuJeepha2GX5Vcctym1Nu0RFzj1RqiD/mQ1y+ybrFcN91c+avfmJ4 k/YRI7zVLPs+qsrCW1eMwlUDgm8pHWqPWklOtpXwACMduZnAWnjMSODFGCw3vH8J4b93 gJgA== X-Gm-Message-State: AOJu0YwcjKU/P7Q/i/HDU23nNAXgB+Qog/ERssnTnJddkLQWG0PA72O/ yEPJ3YFzb/mCOk5QR8APBGzTYst/2r+rPYvaOTWwiQGD7TkQUgJ6FgxrN1IBN20= X-Google-Smtp-Source: AGHT+IGAa/cjfTZHE7AHG8HOudIv6k819Y7EUqRn4IZa7a6bi0FGCY+ZRoiOvbBfa50ARw2mgVhFfg== X-Received: by 2002:a05:600c:1da7:b0:40e:adb5:5fe5 with SMTP id p39-20020a05600c1da700b0040eadb55fe5mr132402wms.147.1705856052337; Sun, 21 Jan 2024 08:54:12 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id bi13-20020a05600c3d8d00b0040e8800fcf3sm16242222wmb.5.2024.01.21.08.54.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 08:54:12 -0800 (PST) From: Sharlatan Hellseher Date: Sun, 21 Jan 2024 16:53:50 +0000 Message-ID: <33e2ea4aef3e3ffb2043f1f08d6c0f44a6dc4fff.1705854493.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 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 X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -4.07 X-Migadu-Queue-Id: 3ED557C3F7 X-Migadu-Spam-Score: -4.07 X-TUID: 1cQEzkSGj0Bq * gnu/packages/astronomy.scm (python-ndcube): New variable. Change-Id: I94087c7e02ca678531bcbf4eb3d035e2647768fd --- gnu/packages/astronomy.scm | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index d757fc75d9..1a11aac534 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2076,6 +2076,55 @@ (define-public python-mpl-animators the easy construction of interactive matplotlib widget based animations.") (license license:bsd-3))) +(define-public python-ndcube + (package + (name "python-ndcube") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ndcube" version)) + (sha256 + (base32 "1b3vbnm438j5jb48vilp145lq137fbrg1l4845rc55mz2p025x34")))) + (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-astropy + python-gwcs + python-matplotlib + python-mpl-animators + python-numpy + python-reproject)) + (native-inputs + (list python-dask + python-pytest + python-pytest-astropy + python-pytest-mpl + python-scipy + python-setuptools-scm + python-sunpy)) + (home-page "https://docs.sunpy.org/projects/ndcube/") + (synopsis "Multi-dimensional contiguous and non-contiguous coordinate aware arrays") + (description + "@code{ndcube} is a package for manipulating, inspecting and visualizing +multi-dimensional contiguous and non-contiguous coordinate-aware data arrays. + +It combines data, uncertainties, units, metadata, masking, and coordinate +transformations into classes with unified slicing and generic coordinate +transformations and plotting/animation capabilities. It is designed to handle +data of any number of dimensions and axis types (e.g. spatial, temporal, +spectral, etc.) whose relationship between the array elements and the real world +can be described by @acronym{WCS, World Coordinate System} translations.") + (license license:bsd-2))) + (define-public python-photutils (package (name "python-photutils") -- 2.41.0