diff options
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 20e1bbd1aca8a..7f56638ce8c44 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 |