summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-h5py
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2021-01-28 19:04:49 -0800
committerKhem Raj <raj.khem@gmail.com>2021-02-01 10:44:32 -0800
commit193078e6bb6edbf39d568e5bd7967b757b94ff09 (patch)
treefd1caadce59017137ea8dcface963e7647e5e710 /meta-python/recipes-devtools/python/python3-h5py
parent0532eaf50b33446ebb2feb7d4d56184a9681b990 (diff)
downloadmeta-openembedded-193078e6bb6edbf39d568e5bd7967b757b94ff09.tar.gz
python3-h5py: improve reproducibility
Prevent absolute path from ending up in the egg-info SOURCES.txt. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-h5py')
-rw-r--r--meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch30
1 files changed, 30 insertions, 0 deletions
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
new file mode 100644
index 000000000..da95ee7af
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
@@ -0,0 +1,30 @@
1From b5d5a7efc7aaa2be830731001ed17c5b71bcefb1 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Fri, 29 Jan 2021 02:33:06 +0000
4Subject: [PATCH] setup_build.py: avoid absolute path
5
6Prevent absolute path from ending up in the egg-info SOURCES.txt.
7
8Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803]
9
10Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
11---
12 setup_build.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/setup_build.py b/setup_build.py
16index ffd3bef..fb196c0 100644
17--- a/setup_build.py
18+++ b/setup_build.py
19@@ -20,7 +20,7 @@ import api_gen
20
21
22 def localpath(*args):
23- return op.abspath(op.join(op.dirname(__file__), *args))
24+ return op.join(*args)
25
26
27 MODULES = ['defs','_errors','_objects','_proxy', 'h5fd', 'h5z',
28--
292.29.2
30