Files
MINGW-packages/mingw-w64-python-h5py/0001-multi-digit-SOVERSION.patch

13 lines
650 B
Diff

diff -urN h5py-3.8.0/setup_configure.py.orig h5py-3.8.0/setup_configure.py
--- h5py-3.8.0/setup_configure.py.orig 2023-01-04 18:26:33.000000000 +0100
+++ h5py-3.8.0/setup_configure.py 2023-01-25 12:01:14.626392300 +0100
@@ -250,7 +250,7 @@
regexp = re.compile(r'^hdf5.dll')
else:
default_path = 'libhdf5-0.dll'
- regexp = re.compile(r'^libhdf5-[0-9].dll')
+ regexp = re.compile(r'^libhdf5-\d+.dll$')
if sys.version_info >= (3, 8):
# To overcome "difficulty" loading the library on windows
# https://bugs.python.org/issue42114