aboutsummaryrefslogtreecommitdiff
path: root/python/scikit-learn
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-07-29 00:07:17 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-04 08:40:09 +0700
commit4463954e12b89680fe6a0c54cc4fe070ff11a410 (patch)
treedb00c091974bb2e1c24b584fb7f0e97752bd7dc6 /python/scikit-learn
parent4582e92ef57483e4cb65f7fad2a0f0af039c0d62 (diff)
python/scikit-learn: Updated for version 0.19.2.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python/scikit-learn')
-rw-r--r--python/scikit-learn/scikit-learn.SlackBuild10
-rw-r--r--python/scikit-learn/scikit-learn.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/python/scikit-learn/scikit-learn.SlackBuild b/python/scikit-learn/scikit-learn.SlackBuild
index d1778e00f9391..ab07c61b57417 100644
--- a/python/scikit-learn/scikit-learn.SlackBuild
+++ b/python/scikit-learn/scikit-learn.SlackBuild
@@ -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
diff --git a/python/scikit-learn/scikit-learn.info b/python/scikit-learn/scikit-learn.info
index 215ca12f7f636..76ed9b20d9c7b 100644
--- a/python/scikit-learn/scikit-learn.info
+++ b/python/scikit-learn/scikit-learn.info
@@ -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"