development/zope.interface: Updated for version 3.6.1.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Mikko Värri 2010-08-14 15:25:38 -05:00 committed by Erik Hanson
parent 3bdb063eef
commit 22b8a9aafe
2 changed files with 9 additions and 12 deletions

View file

@ -2,20 +2,18 @@
# Slackware build script for zope.interface
# Written by Mikko Varri (vmj@linuxbox.fi)
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain
PRGNAM=zope.interface
VERSION=${VERSION:-3.5.0}
VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -31,7 +29,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
unzip $CWD/$PRGNAM-$VERSION.zip
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@ -46,7 +44,7 @@ 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/doc/$PRGNAM-$VERSION
cp -a CHANGES.txt PKG-INFO README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@ -54,4 +52,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +1,10 @@
PRGNAM="zope.interface"
VERSION="3.5.0"
VERSION="3.6.1"
HOMEPAGE="http://pypi.python.org/pypi/zope.interface/"
DOWNLOAD="http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.5.0.zip"
MD5SUM="478d05add7cd7faf25a2fd880a739ddb"
DOWNLOAD="http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.6.1.tar.gz"
MD5SUM="7a895181b8d10be4a7e9a3afa13cd3be"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Varri"
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
APPROVED="rworkman"
APPROVED="Erik Hanson"