libraries/pytables: Updated for version 2.1.2

This commit is contained in:
LukenShiro 2010-05-13 00:33:14 +02:00 committed by Robby Workman
parent 1832b4b27b
commit a3740a34e9
4 changed files with 23 additions and 22 deletions

View file

@ -16,5 +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, both of which are available from
SlackBuilds.org.
This requires numpy and hdf5.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pytables
VERSION=${VERSION:-2.1.1}
VERSION=${VERSION:-2.1.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,29 +60,27 @@ cd $SRC_PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# For now Pyrex extensions are not automatically re-built, because
# Slackware pyrex is not yet at required version (>=0.9.8.4).
#CFLAGS=$SLKCFLAGS \
python setup.py build
python setup.py install --prefix=/usr --root=$PKG
# Copy documentation, examples, contrib, and bench files
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Copy examples, contrib, and bench files
mkdir -p $PKG/usr/share/$PRGNAM/
cp -a examples contrib bench $PKG/usr/share/$PRGNAM/
# Copy documentation files
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cp $CWD/pytablesmanual-$VERSION.pdf $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null
xargs strip --strip-unneeded 2> /dev/null || true
)
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,12 @@
PRGNAM="pytables"
VERSION="2.1.1"
VERSION="2.1.2"
HOMEPAGE="http://www.pytables.org/moin"
DOWNLOAD="http://www.pytables.org/download/pytables-2.1.1/tables-2.1.1.tar.gz"
MD5SUM="fce2100e655e91849b3d73f22274b0c4"
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_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
APPROVED="dsomero"
APPROVED="rworkman"

View file

@ -7,13 +7,13 @@
|-----handy-ruler----------------------------------------------------|
pytables: pytables (Hierarchical datasets in Python)
pytables:
pytables:
pytables: PyTables is a package for managing hierarchical datasets
pytables: and designed to efficiently and easily cope with extremely
pytables: large amounts of data. It optimizes memory and disk resources
pytables: so that data takes much less space than other solutions such
pytables: as relational or object oriented databases.
pytables:
pytables:
pytables: Homepage: http://www.pytables.org/moin
pytables:
pytables:
pytables:
pytables: