aboutsummaryrefslogtreecommitdiff
path: root/python/python-bigfloat
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
parent1d6b686e9757427fbff47e2ded4f50b2b56eca57 (diff)
python/python-bigfloat: Updated for version 0.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-bigfloat')
-rw-r--r--python/python-bigfloat/python-bigfloat.SlackBuild20
-rw-r--r--python/python-bigfloat/python-bigfloat.info8
2 files changed, 13 insertions, 15 deletions
diff --git a/python/python-bigfloat/python-bigfloat.SlackBuild b/python/python-bigfloat/python-bigfloat.SlackBuild
index 6888a4f7f4e87..4d6b18334b4aa 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
diff --git a/python/python-bigfloat/python-bigfloat.info b/python/python-bigfloat/python-bigfloat.info
index 6e117dc23853b..c34c5656c4bed 100644
--- a/python/python-bigfloat/python-bigfloat.info
+++ b/python/python-bigfloat/python-bigfloat.info
@@ -1,8 +1,8 @@
PRGNAM="python-bigfloat"
-VERSION="0.2.1"
-HOMEPAGE="https://bitbucket.org/dickinsm/bigfloat"
-DOWNLOAD="https://pypi.python.org/packages/source/b/bigfloat/bigfloat-0.2.1.tar.gz"
-MD5SUM="5260728c060ce511b6e23018b76fc2e0"
+VERSION="0.3.0"
+HOMEPAGE="https://github.com/mdickinson/bigfloat/"
+DOWNLOAD="https://github.com/mdickinson/bigfloat/archive/v0.3.0/bigfloat-0.3.0.tar.gz"
+MD5SUM="fe976782d4c969f11b806e8ff2706d79"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""