aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-02-16 23:56:23 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-17 23:10:20 +0700
commit6deed80cc65e0a6caaf19d7924d444e40d066773 (patch)
tree93545783e97b23249f4f900429739e01ffba9637 /python
parentb105510a5687b62d945d16f61b43f0cc1ee3d100 (diff)
python/scikit-learn: Update for 1.0.2 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/scikit-learn/scikit-learn.SlackBuild10
-rw-r--r--python/scikit-learn/scikit-learn.info12
2 files changed, 12 insertions, 10 deletions
diff --git a/python/scikit-learn/scikit-learn.SlackBuild b/python/scikit-learn/scikit-learn.SlackBuild
index e1b985b95d4e0..637ea5b9f14ba 100644
--- a/python/scikit-learn/scikit-learn.SlackBuild
+++ b/python/scikit-learn/scikit-learn.SlackBuild
@@ -1,8 +1,10 @@
#!/bin/bash
#
-# SlackBuild for scikit-learn
+# Slackware build script for scikit-learn
#
# Copyright 2016-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -24,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scikit-learn
-VERSION=${VERSION:-0.24.1}
+VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,7 +70,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-v$VERSION
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -82,7 +84,7 @@ python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CONTRIBUTING.md COPYING README.rst \
+ CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/python/scikit-learn/scikit-learn.info b/python/scikit-learn/scikit-learn.info
index c07d26fc378de..ff6127620ce04 100644
--- a/python/scikit-learn/scikit-learn.info
+++ b/python/scikit-learn/scikit-learn.info
@@ -1,10 +1,10 @@
PRGNAM="scikit-learn"
-VERSION="0.24.1"
+VERSION="1.0.2"
HOMEPAGE="https://scikit-learn.org"
-DOWNLOAD="https://github.com/scikit-learn/scikit-learn/archive/0.24.1/scikit-learn-0.24.1.tar.gz"
-MD5SUM="a396b295ed76979577279bee9310acc4"
+DOWNLOAD="https://github.com/scikit-learn/scikit-learn/archive/1.0.2/scikit-learn-1.0.2.tar.gz"
+MD5SUM="565b8b0f9c5cb0797a6de295284557cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-joblib scipy3"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="python-joblib scipy3 threadpoolctl"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu1@isaacyu1.com"