diff options
Diffstat (limited to 'python/scikit-learn/scikit-learn.SlackBuild')
-rw-r--r-- | python/scikit-learn/scikit-learn.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
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 <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 |