From 0abc8ee3944b538dd69acc2bc1548bd0a1e5b544 Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Sun, 6 Nov 2011 10:29:04 -0200 Subject: development/Cython: Updated for version 0.15.1 (+new maintainer) Signed-off-by: Niels Horn --- development/Cython/Cython.SlackBuild | 20 +++++++++++++++++++- development/Cython/Cython.info | 12 ++++++------ development/Cython/slack-desc | 2 +- 3 files changed, 26 insertions(+), 8 deletions(-) (limited to 'development/Cython') diff --git a/development/Cython/Cython.SlackBuild b/development/Cython/Cython.SlackBuild index 16ab688b46..1447085c30 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 +# New Maintainer - Nishant Limbachia - 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 e0c33be8b2..58f4552f2a 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 02f130188c..eb99b21fb1 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 -- cgit v1.2.3