mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
libraries/Nevow: Updated for version 0.11.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6fdf08bc71
commit
6d744c3cde
3 changed files with 11 additions and 16 deletions
|
@ -3,6 +3,7 @@
|
||||||
# Slackware build script for Nevow.
|
# Slackware build script for Nevow.
|
||||||
|
|
||||||
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
|
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
|
||||||
|
# Copyright 2014 Markus Reichelt, Stolberg (Rhld.), DE
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -26,8 +27,8 @@
|
||||||
# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
|
# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
|
||||||
|
|
||||||
PRGNAM=Nevow
|
PRGNAM=Nevow
|
||||||
VERSION=${VERSION:-0.10.0}
|
VERSION=${VERSION:-0.11.1}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -43,8 +44,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
DOCS="LICENSE README"
|
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
|
@ -69,19 +68,16 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
-exec chmod 755 {} \; -o \
|
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
python setup.py install --root=$PKG
|
||||||
|
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| 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
|
mkdir -p $PKG/usr/man/man1
|
||||||
mv $PKG/usr/doc/man/* $PKG/usr/man/man1
|
mv $PKG/usr/doc/man/* $PKG/usr/man/man1
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
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
|
mkdir $PKG/usr/DOCS ; mv $PKG/usr/doc/* $PKG/usr/DOCS
|
||||||
mv $PKG/usr/DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="Nevow"
|
PRGNAM="Nevow"
|
||||||
VERSION="0.10.0"
|
VERSION="0.11.1"
|
||||||
HOMEPAGE="http://pypi.python.org/pypi/Nevow"
|
HOMEPAGE="http://pypi.python.org/pypi/Nevow"
|
||||||
DOWNLOAD="http://pypi.python.org/packages/source/N/Nevow/Nevow-0.10.0.tar.gz"
|
DOWNLOAD="http://pypi.python.org/packages/source/N/Nevow/Nevow-0.11.1.tar.gz"
|
||||||
MD5SUM="66dda2ad88f42dea05911add15f4d1b2"
|
MD5SUM="acc5d23bd94a5399752065baae6117f6"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="python-twisted"
|
REQUIRES="python-twisted"
|
||||||
|
|
|
@ -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: small XML attribute language to provide bi-directional template
|
||||||
Nevow: manipulation capability.
|
Nevow: manipulation capability.
|
||||||
Nevow:
|
Nevow:
|
||||||
Nevow: http://pypi.python.org/pypi/Nevow
|
Nevow: https://pypi.python.org/pypi/Nevow
|
||||||
Nevow:
|
Nevow:
|
||||||
|
|
Loading…
Reference in a new issue