summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2026-03-12 00:11:03 +0300
committerPatrick Williams <patrick@stwcx.xyz>2026-03-12 00:50:31 +0300
commit833e6eeb487809cda27360ff0e744a861a55228d (patch)
treeb8c962801fcd7e9e3c15150a22afa7af2d60e898 /upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
parent1040f45d14363bb6ff9995199e8ccc6242d638f0 (diff)
downloadopenbmc-833e6eeb487809cda27360ff0e744a861a55228d.tar.xz
meta-openembedded: move to upstream-layers
As part of the poky deprecation, use that as an opportunity to move upstream layers into their own subdirectory. This allows us to be clearer as to which layers are owned by the openbmc org and which ones are from upstream. We can then make it more obvious that upstream repositories should be left unchanged. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I68742165729545c842c6a4a7c9bb07b3e86fe853
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
new file mode 100644
index 0000000000..e24d4f9225
--- /dev/null
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
@@ -0,0 +1,28 @@
+From 76f7c7e6efd8166342cc3c84e53d4e18dbdeda13 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 9b4766e..a411462 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_NUMPY2 = ['_npystrings']