libraries/pytables: Updated for version 2.2.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
LukenShiro 2010-12-10 00:12:23 -02:00 committed by Robby Workman
parent 13b19c3ff3
commit 1b976ec966
3 changed files with 17 additions and 14 deletions

View File

@ -16,4 +16,4 @@ PyTables has been designed to fulfill the next requirements:
represented by one byte plus a small fraction when loaded
in memory.
This requires numpy and hdf5.
This requires numpy, numexpr, hdf5 and Cython.

View File

@ -2,7 +2,7 @@
# Slackware build script for pytables
# Copyright 2007-2009 LukenShiro <lukenshiro@ngi.it>
# Copyright 2007-2010 LukenShiro <lukenshiro@ngi.it>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pytables
VERSION=${VERSION:-2.1.2}
VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -70,9 +68,13 @@ rm -rf $SRC_PRGNAM-$VERSION
tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz
cd $SRC_PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
python setup.py install --prefix=/usr --root=$PKG
CFLAGS="$SLKCFLAGS" python setup.py build install --prefix=/usr --root=$PKG
# Copy examples, contrib, and bench files
mkdir -p $PKG/usr/share/$PRGNAM/

View File

@ -1,12 +1,13 @@
PRGNAM="pytables"
VERSION="2.1.2"
VERSION="2.2"
HOMEPAGE="http://www.pytables.org/moin"
DOWNLOAD="http://www.pytables.org/download/pytables-2.1.2/tables-2.1.2.tar.gz \
http://www.pytables.org/download/pytables-2.1.2/pytablesmanual-2.1.2.pdf"
MD5SUM="0033be22577d76fd1689a77afb9975da \
30c6512a38be9a0d52411fbe9041cb6a"
DOWNLOAD="http://www.pytables.org/download/pytables-2.2/tables-2.2.tar.gz \
http://www.pytables.org/download/pytables-2.2/pytablesmanual-2.2.pdf"
MD5SUM="b95ebb5e501296f30fd75254a689d57b \
61609ed51b1bfab0689dbbc3ca636cb3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
APPROVED="rworkman"
APPROVED="Niels Horn"