[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add python-xarray.
From: |
guix-commits |
Subject: |
07/08: gnu: Add python-xarray. |
Date: |
Mon, 22 Jun 2020 09:56:32 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3417a25156946d5cf69dafa283664a09067d9645
Author: Pierre Langlois <pierre.langlois@gmx.com>
AuthorDate: Sat Jun 20 20:30:28 2020 +0200
gnu: Add python-xarray.
From 27ec21904f769c1e8114f767972d9037e1e9f68a Mon Sep 17 00:00:00 2001
From: Pierre Langlois <pierre.langlois@gmx.com>
Date: Thu, 18 Jun 2020 00:58:02 +0200
Subject: [PATCH 4/5] gnu: Add python-xarray.
* gnu/package/python-science.scm (python-xarray): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-science.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 55fc1be..9348894 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -354,3 +354,38 @@ doing practical, real world data analysis in Python.")
(("if 'NULL byte' in msg:")
"if 'NULL byte' in msg or 'line contains NUL' in msg:"))
#t)))))))
+
+(define-public python-xarray
+ (package
+ (name "python-xarray")
+ (version "0.15.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "xarray" version))
+ (sha256
+ (base32
+ "1yx8j66b7rn10m2l6gmn8yr9cn38pi5cj0x0wwpy4hdnhy6i7qv4"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-pytest" ,python-pytest)))
+ (propagated-inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-pandas" ,python-pandas)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest"))))))
+ (home-page "https://github.com/pydata/xarray")
+ (synopsis "N-D labeled arrays and datasets")
+ (description "Xarray (formerly xray) makes working with labelled
+multi-dimensional arrays simple, efficient, and fun!
+
+Xarray introduces labels in the form of dimensions, coordinates and attributes
+on top of raw NumPy-like arrays, which allows for a more intuitive, more
+concise, and less error-prone developer experience. The package includes a
+large and growing library of domain-agnostic functions for advanced analytics
+and visualization with these data structures.")
+ (license license:asl2.0)))
- branch master updated (a0dccc7 -> 6e31d6f), guix-commits, 2020/06/22
- 04/08: gnu: deeptools: Deprecate in favor of python-deeptools., guix-commits, 2020/06/22
- 05/08: gnu: python-pandas: Update to 1.0.5., guix-commits, 2020/06/22
- 08/08: gnu: python-plotly: Update to 4.8.1., guix-commits, 2020/06/22
- 06/08: gnu: Add python-retrying., guix-commits, 2020/06/22
- 01/08: compile: Build gnu/{packages,tests}/* with '-O1'., guix-commits, 2020/06/22
- 07/08: gnu: Add python-xarray.,
guix-commits <=
- 02/08: deduplicate: Avoid traversing directories twice., guix-commits, 2020/06/22
- 03/08: self: Build with Guile 3.0.3., guix-commits, 2020/06/22