Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-h5py: update to 3.12.1 #22500

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions mingw-w64-python-h5py/0001-multi-digit-SOVERSION.patch
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions mingw-w64-python-h5py/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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() {
Expand Down