[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/21: gnu: python-netcdf4: Update to 1.4.2.
From: |
guix-commits |
Subject: |
21/21: gnu: python-netcdf4: Update to 1.4.2. |
Date: |
Wed, 23 Jan 2019 12:13:54 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 93e7b2099b36234056d50438fef053df5d0ca60e
Author: Ricardo Wurmus <address@hidden>
Date: Wed Jan 23 18:12:11 2019 +0100
gnu: python-netcdf4: Update to 1.4.2.
* gnu/packages/python-xyz.scm (python-netcdf4): Update to 1.4.2.
[arguments]: Remove custom "check" phase; add "configure-locations" phase.
[propagated-inputs]: Add python-cftime.
---
gnu/packages/python-xyz.scm | 31 ++++++++++++-------------------
1 file changed, 12 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7e3d96c..a8637d4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -483,39 +483,32 @@ of the netcdf4 package before.")
(define-public python-netcdf4
(package
(name "python-netcdf4")
- (version "1.2.9")
+ (version "1.4.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "netCDF4" version))
(sha256
(base32
- "1h6jq338amlbk0ilzvjyl7cck80i0bah9a5spn9in71vy2qxm7i5"))))
+ "0c0sklgrmv15ygliin8qq0hp7vanmbi74m6zpi0r1ksr0hssyd5r"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'configure-locations
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "HDF5_DIR" (assoc-ref inputs "hdf5"))
+ #t)))))
(native-inputs
`(("python-cython" ,python-cython)))
(propagated-inputs
- `(("python-numpy" ,python-numpy)))
+ `(("python-numpy" ,python-numpy)
+ ("python-cftime" ,python-cftime)))
(inputs
`(("netcdf" ,netcdf)
("hdf4" ,hdf4)
("hdf5" ,hdf5)))
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (setenv "NO_NET" "1") ; disable opendap tests
- (with-directory-excursion "test"
- (setenv "PYTHONPATH" ; find and add the library we just built
- (string-append
- (car (find-files "../build" "lib.*"
- #:directories? #:t
- #:fail-on-error? #:t))
- ":" (getenv "PYTHONPATH")))
- (zero? (system* "python" "run_all.py"))))))))
- (home-page
- "https://github.com/Unidata/netcdf4-python")
+ (home-page "https://github.com/Unidata/netcdf4-python")
(synopsis "Python/numpy interface to the netCDF library")
(description "Netcdf4-python is a Python interface to the netCDF C
library. netCDF version 4 has many features not found in earlier
- 12/21: gnu: python-xlrd: Use INVOKE., (continued)
- 12/21: gnu: python-xlrd: Use INVOKE., guix-commits, 2019/01/23
- 03/21: gnu: python-orderedmultidict: Return #T from build phase., guix-commits, 2019/01/23
- 04/21: gnu: python-pycparser: Use INVOKE., guix-commits, 2019/01/23
- 02/21: gnu: python2-pysnptools: Update to 0.3.13., guix-commits, 2019/01/23
- 15/21: gnu: python-rarfile: Use INVOKE., guix-commits, 2019/01/23
- 11/21: gnu: python-cram: Use INVOKE., guix-commits, 2019/01/23
- 17/21: gnu: python-odfpy: Use INVOKE., guix-commits, 2019/01/23
- 16/21: gnu: python-faker: Use INVOKE., guix-commits, 2019/01/23
- 18/21: gnu: Add python-sh., guix-commits, 2019/01/23
- 19/21: gnu: Add python-coveralls., guix-commits, 2019/01/23
- 21/21: gnu: python-netcdf4: Update to 1.4.2.,
guix-commits <=
- 20/21: gnu: Add python-cftime., guix-commits, 2019/01/23