python/py3sensors: Fix md5sum, switch to i586.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Philip Lacroix 2017-02-11 23:17:01 +00:00 committed by David Spencer
parent 049e1360fd
commit c6fa379f6a
2 changed files with 8 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for py3sensors
# Copyright 2015 Philip Lacroix <slackph at posteo dot de>
# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de>
# 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

View File

@ -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=""