diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-06-27 15:12:10 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-06-27 13:44:47 -0700 |
| commit | 1433fd750184c4b0f5f47f0adc218adfb0a6ea86 (patch) | |
| tree | 469faa6cc41b303fe4f4e56692b46ed27fed3602 /meta-python/recipes-devtools/python/python3-h5py_3.9.0.bb | |
| parent | 97babf063c7274b16c4255687713692d0dcb7fd1 (diff) | |
| download | meta-openembedded-1433fd750184c4b0f5f47f0adc218adfb0a6ea86.tar.gz | |
python3-h5py: upgrade 3.8.0 -> 3.9.0
Changelog:
==========
New features
------------
- New out argument to read_direct_chunk() to allow passing the output buffer
- The objects from Dataset.asstr() and Dataset.astype() now implement the
__array__() method (PR 2269). This speeds up access for functions that
support it, such as np.asarray().
- Validate key types when creating groups and attributes, giving better error
messages when invalid types are used (PR 2266).
Bug fixes
----------
- Group.__contains__ and Group.get now use the default link access property
list systematically (PR 2244).
- Removed various calls to the deprecated numpy.product function
- Fix the IPython tab-completion integration in IPython 8.12
- Replacing attributes with AttributeManager.create() now deletes the old
attributes before creating the new one, rather than using a temporary name
and renaming the new attribute (PR 2274).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-h5py_3.9.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-h5py_3.9.0.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.9.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.9.0.bb new file mode 100644 index 0000000000..834bb031ca --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-h5py_3.9.0.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | SUMMARY = "Provides both a high- and low-level interface to the HDF5 library from Python." | ||
| 2 | HOMEPAGE = "https://www.h5py.org/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "e604db6521c1e367c6bd7fad239c847f53cc46646f2d2651372d05ae5e95f817" | ||
| 8 | |||
| 9 | SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch" | ||
| 10 | |||
| 11 | inherit pkgconfig pypi setuptools3 | ||
| 12 | |||
| 13 | BBCLASSEXTEND = "native" | ||
| 14 | |||
| 15 | DEPENDS = "python3-pkgconfig-native \ | ||
| 16 | python3-cython-native \ | ||
| 17 | python3-numpy-native \ | ||
| 18 | python3-six-native \ | ||
| 19 | hdf5-native \ | ||
| 20 | python3 \ | ||
| 21 | hdf5 \ | ||
| 22 | " | ||
| 23 | |||
| 24 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" | ||
| 25 | |||
| 26 | fix_cythonized_sources() { | ||
| 27 | for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do | ||
| 28 | if [ -e $f ]; then | ||
| 29 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f | ||
| 30 | fi | ||
| 31 | done | ||
| 32 | } | ||
| 33 | |||
| 34 | RDEPENDS:${PN} = "python3-numpy \ | ||
| 35 | python3-six \ | ||
| 36 | python3-json \ | ||
| 37 | " | ||
| 38 | |||
| 39 | export HDF5_VERSION="1.14.0" | ||
