aboutsummaryrefslogtreecommitdiff
path: root/python/scikit-learn/scikit-learn.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/scikit-learn/scikit-learn.SlackBuild')
-rw-r--r--python/scikit-learn/scikit-learn.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/scikit-learn/scikit-learn.SlackBuild b/python/scikit-learn/scikit-learn.SlackBuild
index 637ea5b9f14ba..9411d2099027a 100644
--- a/python/scikit-learn/scikit-learn.SlackBuild
+++ b/python/scikit-learn/scikit-learn.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scikit-learn
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,6 +82,9 @@ find -L . \
python3 setup.py install --root=$PKG
+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 \
CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING README.rst \