summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
diff options
context:
space:
mode:
authorjmbills <jasonm.bills@yahoo.com>2021-04-21 21:58:31 +0300
committerGitHub <noreply@github.com>2021-04-21 21:58:31 +0300
commit5de22d24866c4b7cf3579a30cd3fe963f06d7ef9 (patch)
treed7b76b8111aedb06ee17ced2c9cbdebaeaaf6311 /meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
parentd0a0a5ae2ed84e7b8a45e2838325dd82a3fc1fec (diff)
parentab16ab3d0de4dc9d130ae3db366c38888f1ada5a (diff)
downloadopenbmc-5de22d24866c4b7cf3579a30cd3fe963f06d7ef9.tar.xz
Merge pull request #65 from Intel-BMC/update
Update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
new file mode 100644
index 000000000..d0c2ece19
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
@@ -0,0 +1,29 @@
+From 1a46082d0889a784037952c4da0cde3822849032 Mon Sep 17 00:00:00 2001
+From: Mingli Yu <mingli.yu@windriver.com>
+Date: Thu, 28 Jan 2021 18:44:10 -0800
+Subject: [PATCH] setup_build.py: avoid absolute path
+
+Prevent absolute path from ending up in the egg-info SOURCES.txt.
+
+Upstream-Status: Submitted [https://github.com/h5py/h5py/pull/1803]
+
+Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
+Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
+
+---
+ setup_build.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup_build.py b/setup_build.py
+index 3c7c7ad..d824bdd 100644
+--- a/setup_build.py
++++ b/setup_build.py
+@@ -21,7 +21,7 @@ from setup_configure import BuildConfig
+
+
+ def localpath(*args):
+- return op.abspath(op.join(op.dirname(__file__), *args))
++ return op.join(*args)
+
+
+ MODULES = ['defs', '_errors', '_objects', '_proxy', 'h5fd', 'h5z',