python/scikit-learn: Updated for version 0.19.2.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
Benjamin Trigona-Harany 2018-07-29 00:07:17 -07:00 committed by Willy Sudiarto Raharjo
parent 4582e92ef5
commit 4463954e12
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 9 additions and 7 deletions

View File

@ -2,7 +2,7 @@
#
# SlackBuild for scikit-learn
#
# Copyright 2016 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Copyright 2016-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scikit-learn
VERSION=${VERSION:-0.19.1}
VERSION=${VERSION:-0.19.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -59,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-v$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -71,7 +71,9 @@ find -L . \
python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS.rst COPYING README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS.rst COPYING README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="scikit-learn"
VERSION="0.19.1"
VERSION="0.19.2"
HOMEPAGE="http://scikit-learn.org"
DOWNLOAD="https://github.com/scikit-learn/scikit-learn/archive/0.19.1/scikit-learn-0.19.1.tar.gz"
MD5SUM="8fce5acd7d2d12c45d3381bbfa953d61"
DOWNLOAD="https://github.com/scikit-learn/scikit-learn/archive/0.19.2/scikit-learn-0.19.2.tar.gz"
MD5SUM="354d88153e2474174484ec20e350480d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="scipy"