aboutsummaryrefslogtreecommitdiff
path: root/python/python-chardet
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-15 22:07:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-15 23:17:30 +0700
commite2d72c8d24d9f3413d37261b574fff3a5cf2cba6 (patch)
treef70607046acd4785a9d5fe7390599e8196df209e /python/python-chardet
parenta4fe5ce9d51c545c1f2f71dfd75eea3008af0abc (diff)
python/python-chardet: Updated for version 3.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-chardet')
-rw-r--r--python/python-chardet/python-chardet.SlackBuild6
-rw-r--r--python/python-chardet/python-chardet.info6
2 files changed, 6 insertions, 6 deletions
diff --git a/python/python-chardet/python-chardet.SlackBuild b/python/python-chardet/python-chardet.SlackBuild
index 719783f7eb1d6..0e8ee1dae430c 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
diff --git a/python/python-chardet/python-chardet.info b/python/python-chardet/python-chardet.info
index 98d14cbdc78bc..867f911a41b07 100644
--- a/python/python-chardet/python-chardet.info
+++ b/python/python-chardet/python-chardet.info
@@ -1,8 +1,8 @@
PRGNAM="python-chardet"
-VERSION="2.3.0"
+VERSION="3.0.4"
HOMEPAGE="https://pypi.python.org/pypi/chardet"
-DOWNLOAD="https://pypi.python.org/packages/source/c/chardet/chardet-2.3.0.tar.gz"
-MD5SUM="25274d664ccb5130adae08047416e1a8"
+DOWNLOAD="https://pypi.python.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz"
+MD5SUM="7dd1ba7f9c77e32351b0a0cfacf4055c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""