diff --git a/python/scikit-learn/scikit-learn.SlackBuild b/python/scikit-learn/scikit-learn.SlackBuild index e1b985b95d..637ea5b9f1 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 +# Copyright 2022 Isaac Yu +# 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 c07d26fc37..ff6127620c 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"