summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-09-30 15:42:47 +0800
committerKhem Raj <raj.khem@gmail.com>2024-09-30 07:34:25 -0700
commit34821f5c4b3dfda5e4d99d34d804c1ebcce9f66d (patch)
tree90b668d27b1ccb6ec12c1c056e3609b84dc6a9c5 /meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb
parent1687755c362a6bb139b4b1f424d1ef2c4fa440cb (diff)
downloadmeta-openembedded-34821f5c4b3dfda5e4d99d34d804c1ebcce9f66d.tar.gz
python3-h5py: upgrade 3.11.0 -> 3.12.1
0001-setup_build.py-avoid-absolute-path.patch refreshed for 3.12.1 Changelog: https://github.com/h5py/h5py/blob/master/docs/whatsnew/3.12.rst 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.12.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb b/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb
new file mode 100644
index 0000000000..a84dd28822
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb
@@ -0,0 +1,39 @@
1SUMMARY = "Provides both a high- and low-level interface to the HDF5 library from Python."
2HOMEPAGE = "https://www.h5py.org/"
3SECTION = "devel/python"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c"
6
7SRC_URI[sha256sum] = "326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13dbbcbfdf"
8
9SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch"
10
11inherit pkgconfig pypi setuptools3
12
13BBCLASSEXTEND = "native"
14
15DEPENDS = "python3-pkgconfig-native \
16 python3-cython-native \
17 python3-numpy-native \
18 python3-six-native \
19 hdf5-native \
20 python3 \
21 hdf5 \
22 "
23
24PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
25
26fix_cythonized_sources() {
27 for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do
28 if [ -e $f ]; then
29 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
30 fi
31 done
32}
33
34RDEPENDS:${PN} = "python3-numpy \
35 python3-six \
36 python3-json \
37 "
38
39export HDF5_VERSION="1.14.0"