From 0e6d5de2a01cdc215d99891af2b611b77008ad9b Mon Sep 17 00:00:00 2001 From: Isaac Yu Date: Thu, 19 May 2022 23:06:21 +0100 Subject: python/scikit-learn: Updated for version 1.1.1. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- python/scikit-learn/scikit-learn.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'python/scikit-learn/scikit-learn.SlackBuild') diff --git a/python/scikit-learn/scikit-learn.SlackBuild b/python/scikit-learn/scikit-learn.SlackBuild index 637ea5b9f1..9411d20990 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 \ -- cgit v1.2.3