all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#56700] [PATCH 0/2]: gnu: Add h5netcdf
@ 2022-07-22 12:17 Sharlatan Hellseher
  2022-07-22 12:19 ` [bug#56700] [PATCH 1/2]: gnu: netcdf4: Update to 1.6.0 Sharlatan Hellseher
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2022-07-22 12:17 UTC (permalink / raw)
  To: 56700

Hi Guix team!

This patch set adds Python package h5netcdf.

Version 1.0.1 requires netcdf4 to be updated to 1.6.0
https://github.com/h5netcdf/h5netcdf/issues/177

All related packages built successfully after update
> ./pre-inst-env guix build python-h5netcdf python-meshio python-netcdf4 --rounds=2
/gnu/store/38pwb87l6bggh2b0dvymxq53ld0vnz5h-python-netcdf4-1.6.0
/gnu/store/hb5ynj6nq4b0k6jabkdmfmyj9d7ia002-python-meshio-5.3.4
/gnu/store/ykb7a23a2mvmla1sqvkjlbq5165qyy7r-python-h5netcdf-1.0.1

Sharlatan Hellseher (2):
  gnu: netcdf4: Update to 1.6.0
  gnu: Add h5netcdf

 gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++--
 1 file changed, 33 insertions(+), 2 deletions(-)


base-commit: cd3c4ad8fc113608eade2e5c29ba8486cde01157


-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#56700] [PATCH 1/2]: gnu: netcdf4: Update to 1.6.0
  2022-07-22 12:17 [bug#56700] [PATCH 0/2]: gnu: Add h5netcdf Sharlatan Hellseher
@ 2022-07-22 12:19 ` Sharlatan Hellseher
  2022-07-22 12:19 ` [bug#56700] [PATCH 2/2]: gnu: Add h5netcdf Sharlatan Hellseher
  2022-08-04 10:05 ` bug#56700: [PATCH 0/2]: " Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2022-07-22 12:19 UTC (permalink / raw)
  To: 56700

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-netcdf4-Update-to-1.6.0.patch --]
[-- Type: text/x-patch, Size: 1068 bytes --]

From 63b41517ef82a91f56ab99faa2ac9d1bf5112511 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Fri, 22 Jul 2022 12:34:36 +0100
Subject: [PATCH 1/2] gnu: netcdf4: Update to 1.6.0

* gnu/packages/python-xyz.scm: (python-netcdf4): Update to 1.6.0.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 11f709f7b5..afb7798a5c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1646,14 +1646,14 @@ (define-public python-cftime
 (define-public python-netcdf4
   (package
     (name "python-netcdf4")
-    (version "1.5.3")
+    (version "1.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "netCDF4" version))
        (sha256
         (base32
-         "1gn35mb2yc263pci720aik8ymz41lrvxlrn3z83vyjwghiashg1a"))))
+         "0qxs8r1qmsmg760wm5q0wqlcm7hdd3k7cghryw6wvqd3v5rs7vwm"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#56700] [PATCH 2/2]: gnu: Add h5netcdf
  2022-07-22 12:17 [bug#56700] [PATCH 0/2]: gnu: Add h5netcdf Sharlatan Hellseher
  2022-07-22 12:19 ` [bug#56700] [PATCH 1/2]: gnu: netcdf4: Update to 1.6.0 Sharlatan Hellseher
@ 2022-07-22 12:19 ` Sharlatan Hellseher
  2022-08-04 10:05 ` bug#56700: [PATCH 0/2]: " Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2022-07-22 12:19 UTC (permalink / raw)
  To: 56700

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0002-gnu-Add-h5netcdf.patch --]
[-- Type: text/x-patch, Size: 1900 bytes --]

From bc8af5a649cfbd0c342e1281b59627e55a141e7e Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Fri, 22 Jul 2022 12:44:37 +0100
Subject: [PATCH 2/2] gnu: Add h5netcdf

* gnu/packages/python-xyz.scm: (python-h5netcdf): New variable.
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index afb7798a5c..93935d3b03 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1481,6 +1481,37 @@ (define-public python-hdf4
 @url{http://hdfeos.org/software/pyhdf.php,pyhdf}.")
    (license license:expat)))
 
+(define-public python-h5netcdf
+  (package
+    (name "python-h5netcdf")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "h5netcdf" version))
+       (sha256
+        (base32 "1b2dcgf5rwy7pb7hr4prkc5vgcw9qc2was20dmnj90lbrpx08rvp"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (invoke "pytest" "-vv" "h5netcdf/tests")))))))
+    (native-inputs
+     (list python-netcdf4
+           python-pytest
+           python-setuptools-scm))
+    (propagated-inputs
+     (list python-h5py python-packaging))
+    (home-page "https://h5netcdf.org")
+    (synopsis "Python interface for the netCDF4 file-format based on h5py")
+    (description "This package provides Python interface for the netCDF4
+file-format that reads and writes local or remote HDF5 files directly via h5py
+or h5pyd, without relying on the Unidata netCDF library")
+    (license license:bsd-3)))
+
 (define-public python-h5py
   (package
     (name "python-h5py")
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#56700: [PATCH 0/2]: gnu: Add h5netcdf
  2022-07-22 12:17 [bug#56700] [PATCH 0/2]: gnu: Add h5netcdf Sharlatan Hellseher
  2022-07-22 12:19 ` [bug#56700] [PATCH 1/2]: gnu: netcdf4: Update to 1.6.0 Sharlatan Hellseher
  2022-07-22 12:19 ` [bug#56700] [PATCH 2/2]: gnu: Add h5netcdf Sharlatan Hellseher
@ 2022-08-04 10:05 ` Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-08-04 10:05 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 56700-done

Hi,

Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

>   gnu: netcdf4: Update to 1.6.0
>   gnu: Add h5netcdf

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-04 10:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 12:17 [bug#56700] [PATCH 0/2]: gnu: Add h5netcdf Sharlatan Hellseher
2022-07-22 12:19 ` [bug#56700] [PATCH 1/2]: gnu: netcdf4: Update to 1.6.0 Sharlatan Hellseher
2022-07-22 12:19 ` [bug#56700] [PATCH 2/2]: gnu: Add h5netcdf Sharlatan Hellseher
2022-08-04 10:05 ` bug#56700: [PATCH 0/2]: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.