aboutsummaryrefslogtreecommitdiff
path: root/python/pytables/pytables.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pytables/pytables.SlackBuild')
-rw-r--r--python/pytables/pytables.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/python/pytables/pytables.SlackBuild b/python/pytables/pytables.SlackBuild
index fb5822657ffc1..9e052783cb231 100644
--- a/python/pytables/pytables.SlackBuild
+++ b/python/pytables/pytables.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pytables
-VERSION=${VERSION:-2.2.1}
+VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,8 +42,7 @@ OUTPUT=${OUTPUT:-/tmp}
SRC_PRGNAM=tables
DOCFILES="RELEASE_NOTES.txt LICENSES/ MIGRATING_TO_2.x.txt THANKS \
- ANNOUNCE.txt LICENSE.txt PKG-INFO README.txt doc/html doc/scripts \
- doc/text doc/usersguide.pdf"
+ ANNOUNCE.txt LICENSE.txt PKG-INFO README.txt doc/html doc/scripts"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -74,7 +73,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" python setup.py build install --prefix=/usr --root=$PKG
+python setup.py build install --prefix=/usr --root=$PKG
# Copy examples, contrib, and bench files
mkdir -p $PKG/usr/share/$PRGNAM/
@@ -86,7 +85,7 @@ 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
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
mkdir -p $PKG/install