mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/numpy: Updated for version 1.9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7d2b1f3e09
commit
7d2552f8af
3 changed files with 23 additions and 9 deletions
|
@ -5,8 +5,22 @@ arrays. NumPy is built on the Numeric code base and adds features
|
|||
introduced by numarray as well as an extended C-API and the ability to
|
||||
create arrays of arbitrary type which also makes NumPy suitable for
|
||||
interfacing with general-purpose data-base applications.
|
||||
|
||||
|
||||
There are also basic facilities for discrete fourier transform, basic
|
||||
linear algebra and random number generation.
|
||||
|
||||
If you need to build numpy for debugging, set DEBUG=y.
|
||||
If you need to build numpy for debugging, set DEBUG=y. If software
|
||||
depending on numpy is having problems with the new relaxed strides
|
||||
checking, set NPY_RSC=0.
|
||||
|
||||
It is highly recommended to install optimized BLAS and LAPACK libs
|
||||
before installing numpy. You may choose between ATLAS+LAPACK and
|
||||
OpenBLAS.
|
||||
|
||||
IMPORTANT: The version installed by this SlackBuild doesn NOT include the
|
||||
oldnumeric and numarray compatibility modules since starting with
|
||||
version 1.9.0 these modules got removed by the numpy developers.
|
||||
If you need these compatibility modules please consider the
|
||||
numpy-legacy SlackBuild.
|
||||
THUS: This SlackBuild conflicts with the numpy-legacy SlackBuild
|
||||
which installs versions < 1.9.0!
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
# Slackware build script for NumPy
|
||||
|
||||
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
|
||||
# Updated up to 1.6.2 by Serban Udrea <S.Udrea@gsi.de>
|
||||
# Updated up to 1.9.0 by Serban Udrea <S.Udrea@gsi.de>
|
||||
# Added support for building with debugging symbols (S. Udrea)
|
||||
# LIBDIRSUFFIX is now needed to set the proper path for
|
||||
# UMFPACK (S. Udrea)
|
||||
|
||||
PRGNAM=numpy
|
||||
VERSION=${VERSION:-1.8.0}
|
||||
VERSION=${VERSION:-1.9.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -77,12 +77,12 @@ case "$DEBUG" in
|
|||
esac
|
||||
|
||||
if [ ! "$DEBUG" ]; then
|
||||
python setup.py install --root $PKG
|
||||
NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} 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
|
||||
NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python setup.py build --debug
|
||||
python setup.py install --root $PKG
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="numpy"
|
||||
VERSION="1.8.0"
|
||||
VERSION="1.9.0"
|
||||
HOMEPAGE="http://numpy.scipy.org/"
|
||||
DOWNLOAD="http://download.sourceforge.net/project/numpy/NumPy/1.8.0/numpy-1.8.0.tar.gz"
|
||||
MD5SUM="2a4b0423a758706d592abb6721ec8dcd"
|
||||
DOWNLOAD="http://download.sourceforge.net/project/numpy/NumPy/1.9.0/numpy-1.9.0.tar.gz"
|
||||
MD5SUM="a93dfc447f3ef749b31447084839930b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue