summaryrefslogtreecommitdiffstats
path: root/python/mechanize/mechanize.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2017-03-21 21:41:35 -0400
committer David Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:46 +0000
commitab8d6755ac8aab22640e3df45821b11b49d0fda8 (patch)
tree8818420d32d35165ea238ebdc729c4cb6cc754ba /python/mechanize/mechanize.SlackBuild
parentb9336cab8fb15304cd9a6fbf9df03052e2e0d5db (diff)
downloadslackbuilds-ab8d6755ac8aab22640e3df45821b11b49d0fda8.tar.gz
slackbuilds-ab8d6755ac8aab22640e3df45821b11b49d0fda8.tar.xz
python/mechanize: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/mechanize/mechanize.SlackBuild')
-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 9756c6ec0c4..5348c4854cc 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