summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch8
-rw-r--r--meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch4
-rw-r--r--meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb (renamed from meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb)3
3 files changed, 8 insertions, 7 deletions
diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
index 4881b023c8..9b79cc5395 100644
--- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
+++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup.py-Fix-numpy-version.patch
@@ -1,4 +1,4 @@
1From e6c0d487fb5e6063305b8b3187896fbfe5720ed2 Mon Sep 17 00:00:00 2001 1From b1d4d171fd13624f3d8bb917f716b62494066501 Mon Sep 17 00:00:00 2001
2From: Leon Anavi <leon.anavi@konsulko.com> 2From: Leon Anavi <leon.anavi@konsulko.com>
3Date: Mon, 22 Feb 2021 18:42:43 +0200 3Date: Mon, 22 Feb 2021 18:42:43 +0200
4Subject: [PATCH] setup.py: Fix numpy version 4Subject: [PATCH] setup.py: Fix numpy version
@@ -14,12 +14,12 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/setup.py b/setup.py 16diff --git a/setup.py b/setup.py
17index 7dbe583..6602c97 100755 17index 4b2890c..42ba21b 100755
18--- a/setup.py 18--- a/setup.py
19+++ b/setup.py 19+++ b/setup.py
20@@ -49,7 +49,7 @@ SETUP_REQUIRES = [ 20@@ -49,7 +49,7 @@ SETUP_REQUIRES = [
21 f"Cython >=0.29; python_version<'3.8'", 21 "Cython >=0.29.14; python_version=='3.8'",
22 f"Cython >=0.29.14; python_version>='3.8'", 22 "Cython >=0.29.15; python_version>='3.9'",
23 ] + [ 23 ] + [
24- f"numpy =={np_min}; python_version{py_condition}" 24- f"numpy =={np_min}; python_version{py_condition}"
25+ f"numpy >={np_min}; python_version{py_condition}" 25+ f"numpy >={np_min}; python_version{py_condition}"
diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
index d0c2ece19b..0b8555734a 100644
--- a/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
+++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
@@ -1,4 +1,4 @@
1From 1a46082d0889a784037952c4da0cde3822849032 Mon Sep 17 00:00:00 2001 1From 6f8cee826ef9309c174aa97cb6af2ba532ed9dba Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Thu, 28 Jan 2021 18:44:10 -0800 3Date: Thu, 28 Jan 2021 18:44:10 -0800
4Subject: [PATCH] setup_build.py: avoid absolute path 4Subject: [PATCH] setup_build.py: avoid absolute path
@@ -15,7 +15,7 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
15 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
16 16
17diff --git a/setup_build.py b/setup_build.py 17diff --git a/setup_build.py b/setup_build.py
18index 3c7c7ad..d824bdd 100644 18index 78c6677..64db7f7 100644
19--- a/setup_build.py 19--- a/setup_build.py
20+++ b/setup_build.py 20+++ b/setup_build.py
21@@ -21,7 +21,7 @@ from setup_configure import BuildConfig 21@@ -21,7 +21,7 @@ from setup_configure import BuildConfig
diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb
index 03ae4c9db4..5faa0b8080 100644
--- a/meta-python/recipes-devtools/python/python3-h5py_3.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c"
6 6
7SRC_URI[sha256sum] = "1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2" 7SRC_URI[sha256sum] = "89474be911bfcdb34cbf0d98b8ec48b578c27a89fdb1ae4ee7513f1ef8d9249e"
8 8
9SRC_URI_append = " \ 9SRC_URI_append = " \
10 file://0001-setup_build.py-avoid-absolute-path.patch \ 10 file://0001-setup_build.py-avoid-absolute-path.patch \
@@ -19,6 +19,7 @@ DEPENDS = "python3-pkgconfig-native \
19 python3-cython-native \ 19 python3-cython-native \
20 python3-numpy-native \ 20 python3-numpy-native \
21 python3-six-native \ 21 python3-six-native \
22 hdf5-native \
22 python3 \ 23 python3 \
23 hdf5 \ 24 hdf5 \
24 " 25 "