l/pytables: Upgraded to pytables-2.4.0.
This commit is contained in:
parent
6074c6f009
commit
aec27b5562
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Build script for Slackware
|
||||
# Copyright (C) 2010 Damien Goutte-Gattat
|
||||
# Copyright (C) 2010,2012 Damien Goutte-Gattat
|
||||
#
|
||||
# Redistribution and use of this script, with or without modifications,
|
||||
# is permitted provided that the following conditions are met:
|
||||
|
@ -24,11 +24,11 @@
|
|||
#
|
||||
# Latest pytables sourcecode is available at: <http://www.pytables.org/>.
|
||||
#
|
||||
# Depends: l/numpy, l/hdf5
|
||||
# Depends: l/hdf5, l/numexpr, d/cython
|
||||
|
||||
# Source package infos
|
||||
NAMESRC=${NAMESRC:-tables}
|
||||
VERSION=${VERSION:-2.1.2}
|
||||
VERSION=${VERSION:-2.4.0}
|
||||
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
|
||||
WGET=${WGET:-http://downloads.sourceforge.net/pytables/$ARCHIVE}
|
||||
|
||||
|
@ -85,7 +85,9 @@ tar xf $CWD/$ARCHIVE
|
|||
cd $NAME
|
||||
CFLAGS=$CPUOPT \
|
||||
CXXFLAGS=$CPUOPT \
|
||||
CPPFLAGS=-I/usr/include/hdf5 \
|
||||
python setup.py build
|
||||
CPPFLAGS=-I/usr/include/hdf5 \
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
# Strip binaries
|
||||
|
@ -95,9 +97,9 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
|
|||
# Install the documentation
|
||||
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
|
||||
install -m 644 ANNOUNCE.txt LICENSE.txt LICENSES/* PKG-INFO README.txt \
|
||||
RELEASE_NOTES.txt THANKS VERSION doc/usersguide.pdf \
|
||||
RELEASE_NOTES.txt THANKS VERSION doc/usersguide-$VERSION.pdf \
|
||||
$PKG/usr/doc/$NAMEPKG-$VERSION
|
||||
cp -r examples doc/html doc/scripts doc/text $PKG/usr/doc/$NAMEPKG-$VERSION
|
||||
cp -r examples doc/html doc/scripts $PKG/usr/doc/$NAMEPKG-$VERSION
|
||||
|
||||
# Copy slack-desc file
|
||||
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
545cc16491d37e2f6b8ce10bc8bdfa559b174e2e tables-2.1.2.tar.gz
|
|
@ -0,0 +1 @@
|
|||
3f96927a80f0bfb812206d5af0a08c988a733158 tables-2.4.0.tar.gz
|
Loading…
Reference in New Issue