development/nose: Updated for version 0.11.2.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Mikko Värri 2010-08-14 15:55:23 -05:00 committed by Erik Hanson
parent 1aaa533e61
commit 00e071442e
3 changed files with 13 additions and 16 deletions

View file

@ -5,4 +5,5 @@ unittest, one that is intended to mimic the behavior of py.test as
much as is reasonably possible without resorting to too much magic.
NOTE: Building nose requires Python setuptools to be installed
(available at SlackBuilds.org as "pysetuptools").
(available at SlackBuilds.org as "pysetuptools"). Also, Sphinx,
if installed, is used to generate the docs, but it is optional.

View file

@ -2,20 +2,18 @@
# Slackware build script for nose
# Written by Mikko Varri (vmj@linuxbox.fi)
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain
PRGNAM=nose
VERSION=${VERSION:-0.11.1}
VERSION=${VERSION:-0.11.2}
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
@ -41,17 +39,15 @@ find . \
-exec chmod 644 {} \;
python setup.py install --root=$PKG
make -C doc html || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGELOG NEWS PKG-INFO README.txt lgpl.txt \
cp -a AUTHORS CHANGELOG NEWS PKG-INFO README.txt lgpl.txt examples \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a examples $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION/html
cp -a doc/.build/html $PKG/usr/doc/$PRGNAM-$VERSION || cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="nose"
VERSION="0.11.1"
VERSION="0.11.2"
HOMEPAGE="http://www.somethingaboutorange.com/mrl/projects/nose/"
DOWNLOAD="http://www.somethingaboutorange.com/mrl/projects/nose/nose-0.11.1.tar.gz"
MD5SUM="00789d016f81ec52f666f020c644447e"
DOWNLOAD="http://www.somethingaboutorange.com/mrl/projects/nose/nose-0.11.2.tar.gz"
MD5SUM="cae8bb7a080871886602489677474036"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Varri"
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
APPROVED="Erik Hanson"