python3-h5py: fix wrong file driver version

Due to commit [1] applied in hdf5 (1.13.2), import hdf5 failed

|>>> import h5py
|Traceback (most recent call last):
|  File "<stdin>", line 1, in <module>
|  File "/usr/lib/python3.10/site-packages/h5py/__init__.py", line 56, in <module>
|    from . import h5a, h5d, h5ds, h5f, h5fd, h5g, h5r, h5s, h5t, h5p, h5z, h5pl
|  File "h5py/h5fd.pyx", line 220, in init h5py.h5fd
|RuntimeError: Wrong file driver version # (wrong file driver version #)

Initial driver version to fix the error

[1] 42b767fc67

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
hongxu
2022-09-20 19:07:03 +08:00
committed by Khem Raj
parent 9d03f96bb1
commit a1965d0972
2 changed files with 54 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "3fcf37884383c5da64846ab510190720027dca0768def34dd8dcb659db
SRC_URI:append = " \
file://0001-setup_build.py-avoid-absolute-path.patch \
file://0001-fix-wrong-file-driver-version.patch \
"
inherit pkgconfig pypi setuptools3