meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-setup_build.py-avoid-absolute-path.patch
Leon Anavi 606a07f6c5 python3-h5py: Upgrade 2.10.0 -> 3.1.0
Upgrade to release 3.1.0:

- Fix using bytes as names for :meth:`~Group.create_dataset` and
  :meth:`~Group.create_virtual_dataset`.
- Fix writing data as a list to a dataset with a sub-array data
  type.
- Preserve endianess in Cython dataset Reader
- If pytest is missing pytest-mpi then it will now fail
  immediately with a clear warning message
- Fix a test which was failing on big-endian systems

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-24 09:07:24 -08:00

30 lines
882 B
Diff

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',