diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2011-11-06 10:29:04 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-26 09:09:07 -0600 |
commit | 0abc8ee3944b538dd69acc2bc1548bd0a1e5b544 (patch) | |
tree | 0577e976ec51c3a5548c6ad3ff24309a7ff1a5cd | |
parent | 851b449f02536a250e74989d9390f9be22504c38 (diff) |
development/Cython: Updated for version 0.15.1 (+new maintainer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r-- | development/Cython/Cython.SlackBuild | 20 | ||||
-rw-r--r-- | development/Cython/Cython.info | 12 | ||||
-rw-r--r-- | development/Cython/slack-desc | 2 |
3 files changed, 26 insertions, 8 deletions
diff --git a/development/Cython/Cython.SlackBuild b/development/Cython/Cython.SlackBuild index 16ab688b4687..1447085c30b6 100644 --- a/development/Cython/Cython.SlackBuild +++ b/development/Cython/Cython.SlackBuild @@ -1,9 +1,12 @@ #!/bin/sh # Slackware build script for Cython +# Home Page http://www.cython.org/ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> +# New Maintainer - Nishant Limbachia <nishant _AT_ mnspace _DOT_ net> - 11/04/2011 + PRGNAM=Cython -VERSION=${VERSION:-0.14} +VERSION=${VERSION:-0.15.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -20,6 +23,20 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM 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 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 \) \ -exec chmod 644 {} \; +CFLAGS="$SLKCFLAGS" \ python setup.py install --root=$PKG --prefix=/usr find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/development/Cython/Cython.info b/development/Cython/Cython.info index e0c33be8b280..58f4552f2abd 100644 --- a/development/Cython/Cython.info +++ b/development/Cython/Cython.info @@ -1,10 +1,10 @@ PRGNAM="Cython" -VERSION="0.14" +VERSION="0.15.1" HOMEPAGE="http://www.cython.org/" -DOWNLOAD="http://www.cython.org/release/Cython-0.14.tar.gz" -MD5SUM="27fa072e8282431864543e008fd9a19b" +DOWNLOAD="http://www.cython.org/release/Cython-0.15.1.tar.gz" +MD5SUM="171021b3845c9ca8bd6d8185b3cde664" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" -APPROVED="Erik Hanson" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="Niels Horn" diff --git a/development/Cython/slack-desc b/development/Cython/slack-desc index 02f130188c7a..eb99b21fb184 100644 --- a/development/Cython/slack-desc +++ b/development/Cython/slack-desc @@ -7,7 +7,7 @@ |-----handy-ruler------------------------------------------------------| Cython: Cython (C bindings for Python) -Cython: +Cython: 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 |