summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Petar Petrov2023-09-14 14:24:52 +0200
committer Willy Sudiarto Raharjo2023-09-16 19:10:17 +0200
commite8a8802954a17779078e10e89c371595fa635844 (patch)
treedcd4717e502aaf21e7ec93f7f52374e937fc36d4
parent529d47241a3618e512b52b3c9d8d3ac4103157dc (diff)
downloadslackbuilds-e8a8802954a17779078e10e89c371595fa635844.tar.gz
python/python3-h5py: Build fixes, new maintainer.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-h5py/python3-h5py.SlackBuild4
-rw-r--r--python/python3-h5py/python3-h5py.info4
2 files changed, 5 insertions, 3 deletions
diff --git a/python/python3-h5py/python3-h5py.SlackBuild b/python/python3-h5py/python3-h5py.SlackBuild
index 25aa5f0150..3a02232620 100644
--- a/python/python3-h5py/python3-h5py.SlackBuild
+++ b/python/python3-h5py/python3-h5py.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for python3-h5py
+# Copyright 2023 Petar Petrov slackalaxy@gmail.com
# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
@@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-h5py
VERSION=${VERSION:-3.8.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,6 +84,7 @@ sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pa
H5PY_SYSTEM_LZF=1 python3 setup.py build
python3 setup.py install --root=$PKG --skip-build
+cp -a h5py/{_hl,tests,*.py} $PKG/usr/lib${LIBDIRSUFFIX}/python3.9/site-packages/h5py
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/python3-h5py/python3-h5py.info b/python/python3-h5py/python3-h5py.info
index b7a94c244c..cd0cbb02be 100644
--- a/python/python3-h5py/python3-h5py.info
+++ b/python/python3-h5py/python3-h5py.info
@@ -6,5 +6,5 @@ MD5SUM="51d5e91d32abb192e1b1363e306bdb02"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="hdf5 liblzf python3-numpy python3-pkgconfig"
-MAINTAINER="Isaac Yu"
-EMAIL="isaacyu@protonmail.com"
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"