mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
academic/scipy: Updated for version 0.10.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
58734aade3
commit
f91e45e836
3 changed files with 20 additions and 10 deletions
|
@ -11,6 +11,4 @@ some of the world's leading scientists and engineers.
|
|||
umfpack is an optional dependency. matplotlib and ipython are nice to
|
||||
have in connection with scipy, but scipy does not depend on them.
|
||||
|
||||
NOTE: Presently, if you install umfpack and its dependencies before
|
||||
scipy, make sure there is a link to /usr/include/amd/amd.h from within
|
||||
/usr/include/umfpack, otherwise scipy will not build.
|
||||
If you need to build scipy for debugging, set DEBUG=y.
|
||||
|
|
|
@ -4,10 +4,11 @@
|
|||
|
||||
# Written by Eugene Suter <easuter@gmail.com>
|
||||
# Updated to 0.7.2 by João Felipe Santos <joao.eel@gmail.com>
|
||||
# Updated to 0.9.0 by Serban Udrea <S.Udrea@gsi.de>
|
||||
# Updated up to 0.10.1 by Serban Udrea <S.Udrea@gsi.de>
|
||||
# Added support for building with debugging symbols (S. Udrea)
|
||||
|
||||
PRGNAM=scipy
|
||||
VERSION=${VERSION:-0.9.0}
|
||||
VERSION=${VERSION:-0.10.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -39,10 +40,21 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
python setup.py install --root $PKG
|
||||
DEBUG=${DEBUG:-no}
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
case "$DEBUG" in
|
||||
[yY]|[yY][eE][sS]) DEBUG="y" ;;
|
||||
*) DEBUG="" ;;
|
||||
esac
|
||||
|
||||
if [ ! "$DEBUG" ]; then
|
||||
python 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
|
||||
else
|
||||
python setup.py build --debug
|
||||
python setup.py install --root $PKG
|
||||
fi
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE.txt README.txt THANKS.txt TOCHANGE.txt \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="scipy"
|
||||
VERSION="0.9.0"
|
||||
VERSION="0.10.1"
|
||||
HOMEPAGE="http://www.scipy.org/"
|
||||
DOWNLOAD="http://garr.dl.sourceforge.net/project/scipy/scipy/0.9.0/scipy-0.9.0.tar.gz"
|
||||
MD5SUM="ebfef6e8e82d15c875a4ee6a46d4e1cd"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/scipy/scipy-0.10.1.tar.gz"
|
||||
MD5SUM="6ad976549e22e04ca93e70cf55b70a22"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="lapack numpy"
|
||||
|
|
Loading…
Reference in a new issue