mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
libraries/decorator: Updated for version 3.2.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
744d212b72
commit
22a543673a
2 changed files with 10 additions and 13 deletions
|
@ -2,20 +2,18 @@
|
|||
|
||||
# Slackware build script for decorator
|
||||
|
||||
# Written by Mikko Varri (vmj@linuxbox.fi)
|
||||
# Written by Mikko Värri (vmj@linuxbox.fi)
|
||||
# Public domain
|
||||
|
||||
PRGNAM=decorator
|
||||
VERSION=${VERSION:-2.3.1}
|
||||
VERSION=${VERSION:-3.2.0}
|
||||
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,9 +29,8 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
unzip $CWD/$PRGNAM-$VERSION.zip
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
@ -44,7 +41,7 @@ find . \
|
|||
python setup.py install --root=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a CHANGES.txt README.txt documentation.* $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
cp -a README.txt documentation.* $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="decorator"
|
||||
VERSION="2.3.1"
|
||||
HOMEPAGE="http://www.phyast.pitt.edu/~micheles/python/documentation.html"
|
||||
DOWNLOAD="http://www.phyast.pitt.edu/~micheles/python/decorator-2.3.1.zip"
|
||||
MD5SUM="40c2d7a566a5f5264ef8d2a88d9261e9"
|
||||
VERSION="3.2.0"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/decorator"
|
||||
DOWNLOAD="http://pypi.python.org/packages/source/d/decorator/decorator-3.2.0.tar.gz"
|
||||
MD5SUM="6208cd51365083c168ab3a04426a646b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Mikko Varri"
|
||||
MAINTAINER="Mikko Värri"
|
||||
EMAIL="vmj@linuxbox.fi"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in a new issue