mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-04 00:56:07 +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
|
# Slackware build script for decorator
|
||||||
|
|
||||||
# Written by Mikko Varri (vmj@linuxbox.fi)
|
# Written by Mikko Värri (vmj@linuxbox.fi)
|
||||||
# Public domain
|
# Public domain
|
||||||
|
|
||||||
PRGNAM=decorator
|
PRGNAM=decorator
|
||||||
VERSION=${VERSION:-2.3.1}
|
VERSION=${VERSION:-3.2.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -31,9 +29,8 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
mkdir $PRGNAM-$VERSION
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
unzip $CWD/$PRGNAM-$VERSION.zip
|
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -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
|
python setup.py install --root=$PKG
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="decorator"
|
PRGNAM="decorator"
|
||||||
VERSION="2.3.1"
|
VERSION="3.2.0"
|
||||||
HOMEPAGE="http://www.phyast.pitt.edu/~micheles/python/documentation.html"
|
HOMEPAGE="http://pypi.python.org/pypi/decorator"
|
||||||
DOWNLOAD="http://www.phyast.pitt.edu/~micheles/python/decorator-2.3.1.zip"
|
DOWNLOAD="http://pypi.python.org/packages/source/d/decorator/decorator-3.2.0.tar.gz"
|
||||||
MD5SUM="40c2d7a566a5f5264ef8d2a88d9261e9"
|
MD5SUM="6208cd51365083c168ab3a04426a646b"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Mikko Varri"
|
MAINTAINER="Mikko Värri"
|
||||||
EMAIL="vmj@linuxbox.fi"
|
EMAIL="vmj@linuxbox.fi"
|
||||||
APPROVED="rworkman"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue