summaryrefslogtreecommitdiff
path: root/python/scikit-learn/scikit-learn.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/scikit-learn/scikit-learn.SlackBuild')
-rw-r--r--python/scikit-learn/scikit-learn.SlackBuild10
1 files changed, 6 insertions, 4 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