summaryrefslogtreecommitdiff
path: root/python/python-bigfloat/python-bigfloat.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-22 16:05:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-26 18:28:56 +0700
commit96bc8b9be02a209bbdc1c719d9c0ec704e05a352 (patch)
tree18ed03b3c78bdcdbf3a15cc89485666aed390078 /python/python-bigfloat/python-bigfloat.SlackBuild
parent1d6b686e9757427fbff47e2ded4f50b2b56eca57 (diff)
downloadslackbuilds-96bc8b9be02a209bbdc1c719d9c0ec704e05a352.tar.gz
python/python-bigfloat: Updated for version 0.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-bigfloat/python-bigfloat.SlackBuild')
-rw-r--r--python/python-bigfloat/python-bigfloat.SlackBuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/python/python-bigfloat/python-bigfloat.SlackBuild b/python/python-bigfloat/python-bigfloat.SlackBuild
index 6888a4f7f4..4d6b18334b 100644
--- a/python/python-bigfloat/python-bigfloat.SlackBuild
+++ b/python/python-bigfloat/python-bigfloat.SlackBuild
@@ -5,7 +5,7 @@
# Written by John Tyree <johntyree@gmail.com>
PRGNAM=python-bigfloat
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -13,7 +13,7 @@ SRCNAM=$(echo $PRGNAM | cut -d- -f2)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -24,8 +24,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -49,10 +49,10 @@ mv $SRCNAM-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
@@ -60,9 +60,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README PKG-INFO CHANGELOG \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING* *.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install