summaryrefslogtreecommitdiffstats
path: root/python/py3sensors
diff options
context:
space:
mode:
author Philip Lacroix <slackph at posteo dot de>2017-02-11 23:17:01 +0000
committer David Spencer <idlemoor@slackbuilds.org>2017-02-11 23:18:43 +0000
commitc6fa379f6a75c70f9c8ab4f21437fac4b9550ed3 (patch)
tree39cbee9a7e01bc5bc6f06543f73602d7cc4e129d /python/py3sensors
parent049e1360fd4b6c41bd1baa89a3c4b1efd12d6e5f (diff)
downloadslackbuilds-c6fa379f6a75c70f9c8ab4f21437fac4b9550ed3.tar.gz
slackbuilds-c6fa379f6a75c70f9c8ab4f21437fac4b9550ed3.tar.xz
python/py3sensors: Fix md5sum, switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/py3sensors')
-rw-r--r--python/py3sensors/py3sensors.SlackBuild13
-rw-r--r--python/py3sensors/py3sensors.info2
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 <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
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=""