mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
python/numexpr: Updated for version 2.0.1 moved from development.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
0ecfcb7153
commit
d835fad7a7
4 changed files with 7 additions and 10 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for numexpr
|
||||
|
||||
# Copyright 2010-2011 LukenShiro <lukenshiro@ngi.it>
|
||||
# Copyright 2010-2012 LukenShiro <lukenshiro@ngi.it>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=numexpr
|
||||
VERSION=${VERSION:-2.0}
|
||||
VERSION=${VERSION:-2.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -54,9 +54,6 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
# directory for python packages
|
||||
PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')")
|
||||
|
||||
DOCFILES="ANNOUNCE.txt INSTALL.txt LICENSE.txt README.txt RELEASE_NOTES.txt"
|
||||
|
||||
set -e
|
||||
|
@ -79,7 +76,7 @@ python setup.py build install --root=$PKG
|
|||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
# Move documentation .pdf files and text files to avoid file duplication
|
||||
# Move docs to avoid file duplication
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mv $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="numexpr"
|
||||
VERSION="2.0"
|
||||
VERSION="2.0.1"
|
||||
HOMEPAGE="http://code.google.com/p/numexpr/"
|
||||
DOWNLOAD="http://numexpr.googlecode.com/files/numexpr-2.0.tar.gz"
|
||||
MD5SUM="7b228fc1e5a2b6be69c1af636e6d8de7"
|
||||
DOWNLOAD="http://numexpr.googlecode.com/files/numexpr-2.0.1.tar.gz"
|
||||
MD5SUM="5cdc05c2ef8761daeae8a3182e468ba4"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="LukenShiro"
|
||||
EMAIL="lukenshiro@ngi.it"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="dsomero"
|
Loading…
Reference in a new issue