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".
This commit is contained in:
Ricardo Wurmus 2015-10-08 13:30:23 +02:00
parent 1285119bde
commit 3c4010b1e9

View file

@ -596,12 +596,12 @@ (define-public python-h5py
(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 @@ (define-public python-h5py
(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