summaryrefslogtreecommitdiffstats
path: root/python/python3-h5py/python3-h5py.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-h5py/python3-h5py.SlackBuild')
-rw-r--r--python/python3-h5py/python3-h5py.SlackBuild4
1 files changed, 3 insertions, 1 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