summaryrefslogtreecommitdiffstats
path: root/virtualenv
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-04-27 11:59:35 +0000
committer Eric Hameleers <alien@slackware.com>2013-04-27 11:59:35 +0000
commit7021b1511d8eb23697fed4c8a7aca37f6bc82847 (patch)
tree94cd55460b9b9f2353be0b0e3c04b65e8bcb5e50 /virtualenv
parent45cf1afe00340ac47657aff43fa76cc7feab3b21 (diff)
downloadasb-7021b1511d8eb23697fed4c8a7aca37f6bc82847.tar.gz
asb-7021b1511d8eb23697fed4c8a7aca37f6bc82847.tar.xz
Updated to 1.9.1
Diffstat (limited to 'virtualenv')
-rwxr-xr-xvirtualenv/build/virtualenv.SlackBuild27
1 files changed, 19 insertions, 8 deletions
diff --git a/virtualenv/build/virtualenv.SlackBuild b/virtualenv/build/virtualenv.SlackBuild
index 2aa7305b..8297334e 100755
--- a/virtualenv/build/virtualenv.SlackBuild
+++ b/virtualenv/build/virtualenv.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright 2011 Eric Hameleers, Eindhoven, NL
+# Copyright 2011, 2013 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -32,6 +32,8 @@
# Changelog:
# 1.6.4-1: 31/Jul/2011 by Eric Hameleers <alien@slackware.com>
# * Initial build.
+# 1.9.1-1: 27/apr/2013 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh virtualenv.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -42,7 +44,7 @@
# Set initial variables:
PRGNAM=virtualenv
-VERSION=${VERSION:-1.6.4}
+VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
@@ -57,7 +59,6 @@ TMP=${TMP:-/tmp/build}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Input URL: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.4.tar.gz
SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.gz"
SRCURL="http://pypi.python.org/packages/source/v/${PRGNAM}/${PRGNAM}-${VERSION}.tar.gz"
@@ -66,12 +67,14 @@ SRCURL="http://pypi.python.org/packages/source/v/${PRGNAM}/${PRGNAM}-${VERSION}.
##
# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
- arm*) export ARCH=arm ;;
+ case "$MARCH" in
+ i?86) export ARCH=i486 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$( uname -m ) ;;
+ *) export ARCH=$MARCH ;;
esac
fi
@@ -82,9 +85,17 @@ case "$ARCH" in
x86_64) SLKCFLAGS="-O2 -fPIC"
SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64"
;;
- *) SLKCFLAGS="-O2"
+ armv7hl) SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
SLKLDFLAGS=""; LIBDIRSUFFIX=""
;;
+ *) SLKCFLAGS=${SLKCFLAGS:-"O2"}
+ SLKLDFLAGS=${SLKLDFLAGS:-""}; LIBDIRSUFFIX=${LIBDIRSUFFIX:-""}
+ ;;
+esac
+
+case "ARCH" in
+ arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
+ *) TARGET=$ARCH-slackware-linux ;;
esac
# Exit the script on errors: