aboutsummaryrefslogtreecommitdiff
path: root/python/scikit-learn
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-05-19 23:06:21 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:15 +0700
commit0e6d5de2a01cdc215d99891af2b611b77008ad9b (patch)
tree4a086059ff0e09bacbe0244545c1fc0bb7acd554 /python/scikit-learn
parent1f5ad1d43d14f5a8e6d4f569fe897fbe12dd2bbe (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')
-rw-r--r--python/scikit-learn/scikit-learn.SlackBuild5
-rw-r--r--python/scikit-learn/scikit-learn.info6
2 files changed, 7 insertions, 4 deletions
diff --git a/python/scikit-learn/scikit-learn.SlackBuild b/python/scikit-learn/scikit-learn.SlackBuild
index 637ea5b9f14b..9411d2099027 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 \
diff --git a/python/scikit-learn/scikit-learn.info b/python/scikit-learn/scikit-learn.info
index ff6127620ce0..1b9792421df4 100644
--- a/python/scikit-learn/scikit-learn.info
+++ b/python/scikit-learn/scikit-learn.info
@@ -1,8 +1,8 @@
PRGNAM="scikit-learn"
-VERSION="1.0.2"
+VERSION="1.1.1"
HOMEPAGE="https://scikit-learn.org"
-DOWNLOAD="https://github.com/scikit-learn/scikit-learn/archive/1.0.2/scikit-learn-1.0.2.tar.gz"
-MD5SUM="565b8b0f9c5cb0797a6de295284557cd"
+DOWNLOAD="https://github.com/scikit-learn/scikit-learn/archive/1.1.1/scikit-learn-1.1.1.tar.gz"
+MD5SUM="22947c589b191da78b0ec3ee9dcf40a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-joblib scipy3 threadpoolctl"