academic/scipy3: Updated for version 1.1.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Serban Udrea 2019-02-08 20:26:26 +07:00 committed by Willy Sudiarto Raharjo
parent f5812aad13
commit bcb4c87b7f
3 changed files with 12 additions and 13 deletions

View File

@ -21,4 +21,5 @@ If you need to build scipy for debugging, set DEBUG=y.
NOTE: If you use this SlackBuild scipy will run with the python 3 version
installed on your system. If you'd like to use python 2.7.xx as
provided by Slackware Linux then you have to install scipy.
provided by Slackware Linux then you have to install it with the scipy
SlackBuild.

View File

@ -2,7 +2,7 @@
# Build script for the Python SciPy package to be used with python 3
# Copyright 2016 Serban Udrea <s.udrea@gsi.de>
# Copyright 2016-2019 Serban Udrea <s.udrea@gsi.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification,
@ -25,12 +25,12 @@
# Written by Eugene Suter <easuter@gmail.com>
# Updated to 0.7.2 by João Felipe Santos <joao.eel@gmail.com>
# Updated up to 0.18.0 by Serban Udrea <S.Udrea@gsi.de>
# Updated up to 1.1.0 by Serban Udrea <S.Udrea@gsi.de>
# Added support for building with debugging symbols (S. Udrea)
PRGNAM="scipy3"
SRCNAM="scipy"
VERSION=${VERSION:-0.18.0}
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -53,7 +53,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf "$SRCNAM-$VERSION"
tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd "$SRCNAM-$VERSION"
chown -R root:root .
@ -64,12 +64,10 @@ find -L . \
-exec chmod 644 {} \;
DEBUG=${DEBUG:-no}
case "$DEBUG" in
[yY]|[yY][eE][sS]) DEBUG="y" ;;
*) DEBUG="" ;;
esac
DEBUG=$(echo "$DEBUG"|cut -b 1|tr a-z A-Z)
if [ ! "$DEBUG" ]; then
if [ "$DEBUG" = "N" ]
then
python3 setup.py install --root $PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -1,8 +1,8 @@
PRGNAM="scipy3"
VERSION="0.18.0"
VERSION="1.1.0"
HOMEPAGE="https://www.scipy.org/"
DOWNLOAD="https://github.com/scipy/scipy/releases/download/v0.18.0/scipy-0.18.0.tar.xz"
MD5SUM="59bceff108f58b0e72dfac6fb719476e"
DOWNLOAD="https://github.com/scipy/scipy/releases/download/v1.1.0/scipy-1.1.0.tar.gz"
MD5SUM="aa6bcc85276b6f25e17bcfc4dede8718"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="numpy3 lapack"