python3-h5py: Upgrade 2.10.0 -> 3.1.0

Upgrade to release 3.1.0:

- Fix using bytes as names for :meth:`~Group.create_dataset` and
  :meth:`~Group.create_virtual_dataset`.
- Fix writing data as a list to a dataset with a sub-array data
  type.
- Preserve endianess in Cython dataset Reader
- If pytest is missing pytest-mpi then it will now fail
  immediately with a clear warning message
- Fix a test which was failing on big-endian systems

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2021-02-22 19:15:10 +02:00
committed by Khem Raj
parent c72839e6a4
commit 606a07f6c5
4 changed files with 37 additions and 58 deletions

View File

@@ -0,0 +1,30 @@
SUMMARY = "Provides both a high- and low-level interface to the HDF5 library from Python."
HOMEPAGE = "https://www.h5py.org/"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c"
SRC_URI[sha256sum] = "1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2"
SRC_URI_append = " \
file://0001-setup_build.py-avoid-absolute-path.patch \
file://0001-setup.py-Fix-numpy-version.patch \
"
inherit pypi setuptools3
BBCLASSEXTEND = "native"
DEPENDS = "python3-pkgconfig-native \
python3-cython-native \
python3-numpy-native \
python3-six-native \
python3 \
hdf5 \
"
RDEPENDS_${PN} = "python3-numpy \
python3-six \
"
export HDF5_VERSION="1.8.21"