mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
development/Cython: Updated for version 0.13.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
9afda46281
commit
af0e246e38
3 changed files with 9 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="Cython"
|
||||
VERSION="0.12"
|
||||
VERSION="0.13"
|
||||
HOMEPAGE="http://www.cython.org/"
|
||||
DOWNLOAD="http://www.cython.org/release/Cython-0.12.tar.gz"
|
||||
MD5SUM="f73ad2258115c92ce982d34d27580076"
|
||||
DOWNLOAD="http://www.cython.org/release/Cython-0.13.tar.gz"
|
||||
MD5SUM="ed2ec5e0df60a6b8e500bedf93bb1feb"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Larry Hajali"
|
||||
EMAIL="larryhaja[at]gmail[dot]com"
|
||||
APPROVED="Erik Hanson"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -12,7 +12,7 @@ Cython: Cython is a language that makes writing C extensions for the Python
|
|||
Cython: language as easy as Python itself. Cython is based on the well-known
|
||||
Cython: Pyrex, but supports more cutting edge functionality and
|
||||
Cython: optimizations.
|
||||
Cython:
|
||||
Cython:
|
||||
Cython: Homepage: http://www.cython.org/
|
||||
Cython:
|
||||
Cython:
|
||||
|
|
Loading…
Reference in a new issue