summaryrefslogtreecommitdiffstats
path: root/python/tqdm/tqdm.SlackBuild
diff options
context:
space:
mode:
author Dionysis Ntreou <yakizarns1@gmail.com>2019-10-26 17:56:46 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-26 18:51:48 +0700
commit1dc0de88e5a712046bde24ab483b7d3f57aac3bb (patch)
treea489077be0086b865848495023e614a6ffd959a4 /python/tqdm/tqdm.SlackBuild
parent9a1446f9d37ba4488c98849ff49cb3600979ac40 (diff)
downloadslackbuilds-1dc0de88e5a712046bde24ab483b7d3f57aac3bb.tar.gz
slackbuilds-1dc0de88e5a712046bde24ab483b7d3f57aac3bb.tar.xz
python/python-tqdm: Updated for version 4.36.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/tqdm/tqdm.SlackBuild')
-rw-r--r--python/tqdm/tqdm.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/python/tqdm/tqdm.SlackBuild b/python/tqdm/tqdm.SlackBuild
index 8e404f60b2..7dce6efaa7 100644
--- a/python/tqdm/tqdm.SlackBuild
+++ b/python/tqdm/tqdm.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for tqdm
# Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2019 - Dionysis Ntreou - United Kingdom
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tqdm
-VERSION=${VERSION:-4.31.1}
+VERSION=${VERSION:-4.36.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -34,12 +34,10 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
-
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -53,9 +51,7 @@ else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-
set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -80,7 +76,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.rst LICENCE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst LICENCE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install