aboutsummaryrefslogtreecommitdiff
path: root/python/python-twisted
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2012-06-25 21:46:26 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-06-25 21:46:26 -0400
commitf5cd53de2b4f3b391b7e5a5dc089c2de53401c4f (patch)
treec9e2f78a981bcac55a7f77513f9c11c0f90f0e63 /python/python-twisted
parente764ea574a2a15eb897f72647cd3f823a7b089d1 (diff)
python/python-twisted: Updated for version 12.1.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'python/python-twisted')
-rw-r--r--python/python-twisted/python-twisted.SlackBuild21
-rw-r--r--python/python-twisted/python-twisted.info6
2 files changed, 15 insertions, 12 deletions
diff --git a/python/python-twisted/python-twisted.SlackBuild b/python/python-twisted/python-twisted.SlackBuild
index 5304f5cfee70..3a40979290e6 100644
--- a/python/python-twisted/python-twisted.SlackBuild
+++ b/python/python-twisted/python-twisted.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for python-twisted.
# Copyright 2009-2011 Marco Bonetti <sid77@slackware.it>
+# Copyright 2012 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +28,7 @@
PRGNAM=python-twisted
SRCNAM=Twisted
-VERSION=${VERSION:-12.0.0}
+VERSION=${VERSION:-12.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,14 +45,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="LICENSE NEWS README"
-
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
@@ -62,24 +67,22 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
cd $SRCNAM-$VERSION
-
chown -R root:root .
-
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py build
-
python setup.py install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/python-twisted/python-twisted.info b/python/python-twisted/python-twisted.info
index 0dc4a88af4b7..9a1c808b1ce8 100644
--- a/python/python-twisted/python-twisted.info
+++ b/python/python-twisted/python-twisted.info
@@ -1,8 +1,8 @@
PRGNAM="python-twisted"
-VERSION="12.0.0"
+VERSION="12.1.0"
HOMEPAGE="http://twistedmatrix.com/"
-DOWNLOAD="http://pypi.python.org/packages/source/T/Twisted/Twisted-12.0.0.tar.bz2"
-MD5SUM="cf49a8676c21c50faf1b42b528049471"
+DOWNLOAD="http://pypi.python.org/packages/source/T/Twisted/Twisted-12.1.0.tar.bz2"
+MD5SUM="f396f1d6f5321e869c2f89b2196a9eb5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Markus Reichelt"