diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-11-09 20:22:08 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-12 22:33:09 +0700 |
commit | 90f917a3ec7e14249b7a73562c9c7e636be4e141 (patch) | |
tree | 2ec676ed00c9d76208e05362a99024fad2518dd5 /python | |
parent | 6f749a91b3b6761298670af4c9ebba087da0de3d (diff) | |
download | slackbuilds-90f917a3ec7e14249b7a73562c9c7e636be4e141.tar.gz |
python/python3-h5py: Remove build optimization.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-h5py/python3-h5py.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/python3-h5py/python3-h5py.SlackBuild b/python/python3-h5py/python3-h5py.SlackBuild index 20e1bbd1ac..7f56638ce8 100644 --- a/python/python3-h5py/python3-h5py.SlackBuild +++ b/python/python3-h5py/python3-h5py.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-h5py VERSION=${VERSION:-3.7.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,13 +85,13 @@ find -L . \ sed -i "s/settings\\['runtime_library_dirs'\\] = settings\\['library_dirs'\\]/pass/" setup_build.py H5PY_SYSTEM_LZF=1 python3 setup.py build -python3 setup.py install --root=$PKG --skip-build --optimize=1 +python3 setup.py install --root=$PKG --skip-build 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |