From 58c9edd97a6e44658f3aae1293f4613cc3e14f71 Mon Sep 17 00:00:00 2001 From: Konstantin Podsvirov Date: Tue, 12 Nov 2024 01:25:43 +0300 Subject: [PATCH] python-h5py: update to 3.12.1 --- .../0001-multi-digit-SOVERSION.patch | 14 +++++++------- mingw-w64-python-h5py/PKGBUILD | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/mingw-w64-python-h5py/0001-multi-digit-SOVERSION.patch b/mingw-w64-python-h5py/0001-multi-digit-SOVERSION.patch index 5ca52a9517441..04ac5af8a8882 100644 --- a/mingw-w64-python-h5py/0001-multi-digit-SOVERSION.patch +++ b/mingw-w64-python-h5py/0001-multi-digit-SOVERSION.patch @@ -1,12 +1,12 @@ -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 @@ +diff -Naur h5py-3.12.1.orig/setup_configure.py h5py-3.12.1/setup_configure.py +--- h5py-3.12.1.orig/setup_configure.py 2024-11-12 01:13:06.331700900 +0300 ++++ h5py-3.12.1/setup_configure.py 2024-11-12 01:14:51.639066300 +0300 +@@ -252,7 +252,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 + # To overcome "difficulty" loading the library on windows + # https://bugs.python.org/issue42114 + load_kw['winmode'] = 0 diff --git a/mingw-w64-python-h5py/PKGBUILD b/mingw-w64-python-h5py/PKGBUILD index 498d1343f3d49..b57c2a308cc42 100644 --- a/mingw-w64-python-h5py/PKGBUILD +++ b/mingw-w64-python-h5py/PKGBUILD @@ -6,8 +6,8 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=3.11.0 -pkgrel=4 +pkgver=3.12.1 +pkgrel=1 pkgdesc="General-purpose Python bindings for the HDF5 library (mingw-w64)" arch=('any') mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') @@ -30,8 +30,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz" 0001-multi-digit-SOVERSION.patch lzf_c.c.patch) -sha256sums=('7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9' - 'b522515e3688acac0ca1a50265a2aa2009ec6df55f0d205b72e5dea5fd494705' +sha256sums=('326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13dbbcbfdf' + 'b393b8cb1efbd4f52d40e14a5c6e736039f3dadc11589b4b9b39edef0eb32a68' '6d0126b881b5dcd637146d151341b72aa68eef760092272279072ec0bc4ceca9') apply_patch_with_msg() {