aboutsummaryrefslogtreecommitdiff
path: root/python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2017-05-23 01:33:10 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:29:10 +0700
commit44f6aa5cf144ec020e8182adf6d4132fe1d3eb9d (patch)
tree8d981ef2fa803af958941d39dd2f1a92fe1971db /python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild
parent6ea1aadd2ceacee5921a865dee8d1e442cae831d (diff)
python/sqlalchemy-migrate: Updated for version 1.11.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild')
-rw-r--r--python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild26
1 files changed, 4 insertions, 22 deletions
diff --git a/python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild b/python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild
index 5ee330c214c1..9cd07cb28689 100644
--- a/python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild
+++ b/python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for SQLAlchemy-migrate
-# Copyright 2014 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2014-2017 Kyle Guinn <elyk03@gmail.com>, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sqlalchemy-migrate
-VERSION=${VERSION:-0.9.1}
+VERSION=${VERSION:-0.11.0}
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
@@ -42,20 +42,6 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog README.rst TODO"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -65,11 +51,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+chmod -R u+w,go-w,a+rX-st .
python setup.py install --root=$PKG