mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Deprecate python-hdf4.
The project has changed the name and VCS URL <https://github.com/fhs/python-hdf4> redirects to <https://github.com/fhs/pyhdf>, see <https://github.com/fhs/pyhdf/pull/22>. * gnu/packages/python-xyz.scm (python-hdf4): Deprecate variable. (python-pyhdf): New variable. Change-Id: I785804a57fa520109a0ceb89263b181889e18bd1
This commit is contained in:
parent
eff2759d5b
commit
c654cb469f
1 changed files with 42 additions and 29 deletions
|
@ -3795,38 +3795,51 @@ compositions like @code{XOR} and @code{NAND} are emulated on top of them.
|
||||||
Expressions are constructed from parsed strings or directly in Python.")
|
Expressions are constructed from parsed strings or directly in Python.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public python-hdf4
|
(define-public python-pyhdf
|
||||||
(package
|
(package
|
||||||
(name "python-hdf4")
|
(name "python-pyhdf")
|
||||||
(version "0.9.2")
|
(version "0.11.6")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri name version))
|
(uri (pypi-uri "pyhdf" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0nlcz7p3mcqa0s161iqnnfgwgx0np8rhz8p924g5hlcn1bfy6vcz"))))
|
||||||
"00sxppysk3w620g1jdskjzkybvpf8dkpzjfj3wlw5khpzw1g0hq5"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system pyproject-build-system)
|
(arguments
|
||||||
(arguments
|
(list
|
||||||
(list
|
#:test-flags #~(list "--pyargs" "pyhdf")
|
||||||
#:phases
|
#:phases
|
||||||
'(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'check 'build-extensions
|
(add-after 'check 'run-example-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Extensions have to be built before running the tests.
|
(invoke "python" "examples/runall.py"))))))
|
||||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
(native-inputs
|
||||||
(native-inputs (list python-pytest python-setuptools python-wheel))
|
(list python-numpy
|
||||||
(propagated-inputs (list python-numpy))
|
python-pytest
|
||||||
|
python-setuptools
|
||||||
|
python-setuptools-scm
|
||||||
|
python-wheel))
|
||||||
(inputs
|
(inputs
|
||||||
(list hdf4 libjpeg-turbo zlib))
|
(list hdf4
|
||||||
(home-page "https://github.com/fhs/python-hdf4")
|
libjpeg-turbo
|
||||||
(synopsis "Python interface to the NCSA HDF4 library")
|
zlib))
|
||||||
(description
|
(propagated-inputs
|
||||||
"Python-HDF4 is a python wrapper around the NCSA HDF version 4 library,
|
(list python-numpy))
|
||||||
|
(home-page "https://github.com/fhs/pyhdf")
|
||||||
|
(synopsis "Python interface to the NCSA HDF4 library")
|
||||||
|
(description
|
||||||
|
"PYHDF4 is a python wrapper around the NCSA HDF version 4 library,
|
||||||
which implements the SD (Scientific Dataset), VS (Vdata) and V (Vgroup) API’s.
|
which implements the SD (Scientific Dataset), VS (Vdata) and V (Vgroup) API’s.
|
||||||
NetCDF files can also be read and modified. Python-HDF4 is a fork of
|
NetCDF files can also be read and modified. It is a successor of Python-HDF4
|
||||||
@url{http://hdfeos.org/software/pyhdf.php,pyhdf}.")
|
which is a fork of @url{http://hdfeos.org/software/pyhdf.php,pyhdf}.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
;; Version 0.9.x was called python-hdf4 in PyPI because at that time upstream
|
||||||
|
;; didn't have access to the pyhdf package in PyPI. For version 0.10.0 and
|
||||||
|
;; onward, please install pyhdf instead of python-hdf4.
|
||||||
|
(define-public python-hdf4
|
||||||
|
(deprecated-package "python-hdf4" python-pyhdf))
|
||||||
|
|
||||||
(define-public python-h5netcdf
|
(define-public python-h5netcdf
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue