From 6d744c3cde216edd1da98cfe5fa4bd39f9fe3b75 Mon Sep 17 00:00:00 2001 From: Markus Reichelt Date: Sat, 27 Dec 2014 21:37:28 +0700 Subject: [PATCH] libraries/Nevow: Updated for version 0.11.1. Signed-off-by: Willy Sudiarto Raharjo --- libraries/Nevow/Nevow.SlackBuild | 19 +++++++------------ libraries/Nevow/Nevow.info | 6 +++--- libraries/Nevow/slack-desc | 2 +- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/libraries/Nevow/Nevow.SlackBuild b/libraries/Nevow/Nevow.SlackBuild index e39f42f541..e405bc3716 100644 --- a/libraries/Nevow/Nevow.SlackBuild +++ b/libraries/Nevow/Nevow.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for Nevow. # Copyright 2010-2011 Marco Bonetti +# Copyright 2014 Markus Reichelt, Stolberg (Rhld.), DE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +27,8 @@ # Now maintained by Markus Reichelt , 0xCCEEF115 PRGNAM=Nevow -VERSION=${VERSION:-0.10.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.11.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -43,8 +44,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="LICENSE README" - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -69,19 +68,16 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG 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/lib${LIBDIRSUFFIX}/python2.7/site-packages -mv $PKG/usr/twisted $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages - mkdir -p $PKG/usr/man/man1 mv $PKG/usr/doc/man/* $PKG/usr/man/man1 find $PKG/usr/man -type f -exec gzip -9 {} \; @@ -89,7 +85,6 @@ rm -rf $PKG/usr/doc/man mkdir $PKG/usr/DOCS ; mv $PKG/usr/doc/* $PKG/usr/DOCS mv $PKG/usr/DOCS $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/Nevow/Nevow.info b/libraries/Nevow/Nevow.info index 95fb2cac3d..0326a92920 100644 --- a/libraries/Nevow/Nevow.info +++ b/libraries/Nevow/Nevow.info @@ -1,8 +1,8 @@ PRGNAM="Nevow" -VERSION="0.10.0" +VERSION="0.11.1" HOMEPAGE="http://pypi.python.org/pypi/Nevow" -DOWNLOAD="http://pypi.python.org/packages/source/N/Nevow/Nevow-0.10.0.tar.gz" -MD5SUM="66dda2ad88f42dea05911add15f4d1b2" +DOWNLOAD="http://pypi.python.org/packages/source/N/Nevow/Nevow-0.11.1.tar.gz" +MD5SUM="acc5d23bd94a5399752065baae6117f6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-twisted" diff --git a/libraries/Nevow/slack-desc b/libraries/Nevow/slack-desc index 7d8f7452c8..bd95ff95f9 100644 --- a/libraries/Nevow/slack-desc +++ b/libraries/Nevow/slack-desc @@ -15,5 +15,5 @@ Nevow: provides rich support for designer-edited templates, using a very Nevow: small XML attribute language to provide bi-directional template Nevow: manipulation capability. Nevow: -Nevow: http://pypi.python.org/pypi/Nevow +Nevow: https://pypi.python.org/pypi/Nevow Nevow: