mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/Cython: Updated for version 0.15.1 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
851b449f02
commit
0abc8ee394
3 changed files with 26 additions and 8 deletions
|
@ -1,9 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Slackware build script for Cython
|
# Slackware build script for Cython
|
||||||
|
# Home Page http://www.cython.org/
|
||||||
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
|
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||||
|
|
||||||
|
# New Maintainer - Nishant Limbachia <nishant _AT_ mnspace _DOT_ net> - 11/04/2011
|
||||||
|
|
||||||
PRGNAM=Cython
|
PRGNAM=Cython
|
||||||
VERSION=${VERSION:-0.14}
|
VERSION=${VERSION:-0.15.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -20,6 +23,20 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
|
else
|
||||||
|
SLKCFLAGS="-O2"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -35,6 +52,7 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
python setup.py install --root=$PKG --prefix=/usr
|
python setup.py install --root=$PKG --prefix=/usr
|
||||||
|
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="Cython"
|
PRGNAM="Cython"
|
||||||
VERSION="0.14"
|
VERSION="0.15.1"
|
||||||
HOMEPAGE="http://www.cython.org/"
|
HOMEPAGE="http://www.cython.org/"
|
||||||
DOWNLOAD="http://www.cython.org/release/Cython-0.14.tar.gz"
|
DOWNLOAD="http://www.cython.org/release/Cython-0.15.1.tar.gz"
|
||||||
MD5SUM="27fa072e8282431864543e008fd9a19b"
|
MD5SUM="171021b3845c9ca8bd6d8185b3cde664"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Larry Hajali"
|
MAINTAINER="Nishant Limbachia"
|
||||||
EMAIL="larryhaja[at]gmail[dot]com"
|
EMAIL="nishant@mnspace.net"
|
||||||
APPROVED="Erik Hanson"
|
APPROVED="Niels Horn"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
Cython: Cython (C bindings for Python)
|
Cython: Cython (C bindings for Python)
|
||||||
Cython:
|
Cython:
|
||||||
Cython: Cython is a language that makes writing C extensions for the Python
|
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: language as easy as Python itself. Cython is based on the well-known
|
||||||
Cython: Pyrex, but supports more cutting edge functionality and
|
Cython: Pyrex, but supports more cutting edge functionality and
|
||||||
|
|
Loading…
Reference in a new issue