summaryrefslogtreecommitdiff
path: root/development/Cython/Cython.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-10-16 20:47:06 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-10-16 20:47:06 -0500
commitaf0e246e3856b64b7a65696d58ececc44449787a (patch)
tree0bbd3819f739de5c91f440db2587400293e49af8 /development/Cython/Cython.SlackBuild
parent9afda46281cb5015c2a611f58c2b7fff95db7e83 (diff)
downloadslackbuilds-af0e246e3856b64b7a65696d58ececc44449787a.tar.gz
development/Cython: Updated for version 0.13.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/Cython/Cython.SlackBuild')
-rw-r--r--development/Cython/Cython.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/development/Cython/Cython.SlackBuild b/development/Cython/Cython.SlackBuild
index f07bbffec2..38bf9d7d18 100644
--- a/development/Cython/Cython.SlackBuild
+++ b/development/Cython/Cython.SlackBuild
@@ -3,16 +3,14 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=Cython
-VERSION=${VERSION:-0.12}
+VERSION=${VERSION:-0.13}
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
@@ -37,19 +35,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python setup.py install --root=$PKG --prefix=/usr
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- *.txt Doc \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt Doc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Fix a broken link in one of the html files
-sed -i 's:~greg/python/Cython:greg.ewing/python/Pyrex:' \
+sed -i 's|~greg/python/Cython|greg.ewing/python/Pyrex|' \
$PKG/usr/doc/$PRGNAM-$VERSION/Doc/index.html
mkdir -p $PKG/install