diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-05-19 23:06:21 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-21 08:25:15 +0700 |
commit | 0e6d5de2a01cdc215d99891af2b611b77008ad9b (patch) | |
tree | 4a086059ff0e09bacbe0244545c1fc0bb7acd554 /python/scikit-learn/scikit-learn.SlackBuild | |
parent | 1f5ad1d43d14f5a8e6d4f569fe897fbe12dd2bbe (diff) |
python/scikit-learn: Updated for version 1.1.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/scikit-learn/scikit-learn.SlackBuild')
-rw-r--r-- | python/scikit-learn/scikit-learn.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
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 \ |