From 5f368af582d3586a7b4e3a353d9bbd75eeb83a61 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 8 Oct 2015 13:30:23 +0200 Subject: [PATCH 1/2] gnu: python-h5py, python2-h5py: Correct inputs. * gnu/packages/python.scm (python-h5py) [inputs]: Remove python-cython and python-numpy. [propagated-inputs]: New field. [native-inputs]: Drop python-setuptools and add python-cython. (python2-h5py): Replace "inputs" with "propagated-inputs". --- gnu/packages/python.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 46fcb4a..1865477 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -596,12 +596,12 @@ and verifies that it matches the intended target hostname.") (base32 "0q4f9l8grf6pwp64xbv8bmyxx416s7h4522nnxac056ap3savbps")))) (build-system python-build-system) + (propagated-inputs + `(("python-numpy" ,python-numpy))) (inputs - `(("python-cython" ,python-cython) - ("python-numpy" ,python-numpy) - ("hdf5" ,hdf5))) + `(("hdf5" ,hdf5))) (native-inputs - `(("python-setuptools" ,python-setuptools))) + `(("python-cython" ,python-cython))) (arguments `(#:tests? #f)) ; no test target (home-page "http://www.h5py.org/") (synopsis "Read and write HDF5 files from Python") @@ -616,11 +616,11 @@ concepts.") (define-public python2-h5py (let ((h5py (package-with-python2 python-h5py))) (package (inherit h5py) - (inputs + (propagated-inputs `(("python2-numpy" ,python2-numpy) ,@(alist-delete "python-numpy" - (package-inputs h5py))))))) + (package-propagated-inputs h5py))))))) (define-public python-lockfile (package -- 2.1.0