summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 21:41:35 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:46 +0000
commitab8d6755ac8aab22640e3df45821b11b49d0fda8 (patch)
tree8818420d32d35165ea238ebdc729c4cb6cc754ba
parentb9336cab8fb15304cd9a6fbf9df03052e2e0d5db (diff)
downloadslackbuilds-ab8d6755ac8aab22640e3df45821b11b49d0fda8.tar.gz
python/mechanize: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--python/mechanize/mechanize.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/mechanize/mechanize.SlackBuild b/python/mechanize/mechanize.SlackBuild
index 9756c6ec0c..5348c4854c 100644
--- a/python/mechanize/mechanize.SlackBuild
+++ b/python/mechanize/mechanize.SlackBuild
@@ -3,13 +3,13 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=mechanize
-VERSION=0.2.5
+VERSION=${VERSION:-0.2.5}
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