summaryrefslogtreecommitdiffstats
path: root/python/python-chardet/python-chardet.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2017-06-15 17:07:10 +0200
committer Willy Sudiarto Raharjo2017-06-15 18:17:30 +0200
commite2d72c8d24d9f3413d37261b574fff3a5cf2cba6 (patch)
treef70607046acd4785a9d5fe7390599e8196df209e /python/python-chardet/python-chardet.SlackBuild
parenta4fe5ce9d51c545c1f2f71dfd75eea3008af0abc (diff)
downloadslackbuilds-e2d72c8d24d9f3413d37261b574fff3a5cf2cba6.tar.gz
python/python-chardet: Updated for version 3.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-chardet/python-chardet.SlackBuild')
-rw-r--r--python/python-chardet/python-chardet.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/python-chardet/python-chardet.SlackBuild b/python/python-chardet/python-chardet.SlackBuild
index 719783f7eb..0e8ee1dae4 100644
--- a/python/python-chardet/python-chardet.SlackBuild
+++ b/python/python-chardet/python-chardet.SlackBuild
@@ -24,13 +24,13 @@
PRGNAM=python-chardet
SRCNAM=chardet
-VERSION=${VERSION:-2.3.0}
+VERSION=${VERSION:-3.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -58,7 +58,7 @@ find -L . \
python setup.py install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION