unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 56700@debbugs.gnu.org
Subject: [bug#56700] [PATCH 2/2]: gnu: Add h5netcdf
Date: Fri, 22 Jul 2022 13:19:51 +0100	[thread overview]
Message-ID: <CAO+9K5pEz7O15JyFgDj2FzSuhx3OAvH1a5mjj-Xxr8PWr4MTfg@mail.gmail.com> (raw)
In-Reply-To: <CAO+9K5q3PxaAgFMLR-JH=CgxMr3bQZ46i8zKmFSZFuiO_gw_dw@mail.gmail.com>

[-- 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


  parent reply	other threads:[~2022-07-22 12:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2022-08-04 10:05 ` bug#56700: [PATCH 0/2]: gnu: Add h5netcdf Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAO+9K5pEz7O15JyFgDj2FzSuhx3OAvH1a5mjj-Xxr8PWr4MTfg@mail.gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=56700@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).