diff options
Diffstat (limited to 'development/nose')
-rw-r--r-- | development/nose/README | 3 | ||||
-rw-r--r-- | development/nose/nose.SlackBuild | 18 | ||||
-rw-r--r-- | development/nose/nose.info | 8 |
3 files changed, 13 insertions, 16 deletions
diff --git a/development/nose/README b/development/nose/README index af2b92fe47..89303e714a 100644 --- a/development/nose/README +++ b/development/nose/README @@ -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. diff --git a/development/nose/nose.SlackBuild b/development/nose/nose.SlackBuild index d5d4a8b704..ca69c05d72 100644 --- a/development/nose/nose.SlackBuild +++ b/development/nose/nose.SlackBuild @@ -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 diff --git a/development/nose/nose.info b/development/nose/nose.info index 4610c7a859..74beac137b 100644 --- a/development/nose/nose.info +++ b/development/nose/nose.info @@ -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" |