summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d1778e00f9..ab07c61b57 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 215ca12f7f..76ed9b20d9 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"