From c6fa379f6a75c70f9c8ab4f21437fac4b9550ed3 Mon Sep 17 00:00:00 2001 From: Philip Lacroix Date: Sat, 11 Feb 2017 23:17:01 +0000 Subject: [PATCH] python/py3sensors: Fix md5sum, switch to i586. Signed-off-by: David Spencer --- python/py3sensors/py3sensors.SlackBuild | 13 +++++++------ python/py3sensors/py3sensors.info | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/python/py3sensors/py3sensors.SlackBuild b/python/py3sensors/py3sensors.SlackBuild index 4ee9b2de94..1df55add9c 100644 --- a/python/py3sensors/py3sensors.SlackBuild +++ b/python/py3sensors/py3sensors.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for py3sensors -# Copyright 2015 Philip Lacroix +# Copyright 2015-2017 Philip Lacroix # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,14 +23,15 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=py3sensors -SRCNAM=gleb_zhulik-$PRGNAM VERSION=${VERSION:-0cf96f4e2cfe} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +SRCNAM=gleb_zhulik-$PRGNAM + if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -48,8 +49,8 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -# The upstream tarball will be named differently, depending on -# the file being downloaded manually (web browser) or with wget. +# The source tarball will be named differently, depending +# on the file being downloaded with a web browser or wget. if [ -e $CWD/$VERSION.zip ]; then unzip $CWD/$VERSION.zip else diff --git a/python/py3sensors/py3sensors.info b/python/py3sensors/py3sensors.info index 520283127e..bcb1346e8c 100644 --- a/python/py3sensors/py3sensors.info +++ b/python/py3sensors/py3sensors.info @@ -2,7 +2,7 @@ PRGNAM="py3sensors" VERSION="0cf96f4e2cfe" HOMEPAGE="https://bitbucket.org/gleb_zhulik/py3sensors" DOWNLOAD="https://bitbucket.org/gleb_zhulik/py3sensors/get/0cf96f4e2cfe.zip" -MD5SUM="23566f0fbfe8cb988b9b225cb0105a6c" +MD5SUM="36bd7f3e52daca8caf2fd25ef5383116" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""