aboutsummaryrefslogtreecommitdiff
path: root/python/sqlalchemy-migrate
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2019-03-09 22:05:19 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-16 06:53:34 +0700
commit1e6e7f81c28cce66fd2d5fe0fcc6db588c8c993a (patch)
treefe466401bd9273c80505b974009ef01fe78dd2ee /python/sqlalchemy-migrate
parent7801b80f7215dda499fa24df4dba8032f409e6c0 (diff)
python/sqlalchemy-migrate: Updated for version 0.12.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'python/sqlalchemy-migrate')
-rw-r--r--python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild13
-rw-r--r--python/sqlalchemy-migrate/sqlalchemy-migrate.info6
2 files changed, 12 insertions, 7 deletions
diff --git a/python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild b/python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild
index 9cd07cb28689..7225f33d0bbb 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-2017 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2014-2019 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sqlalchemy-migrate
-VERSION=${VERSION:-0.11.0}
+VERSION=${VERSION:-0.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,7 +37,7 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
+PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog README.rst TODO"
@@ -53,7 +53,12 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-python setup.py install --root=$PKG
+# Prefer python2 executables in /usr/bin for now by installing them last.
+if python3 -c 'import sys' 2>/dev/null; then
+ python3 ./setup.py install --root=$PKG
+ rm -rf build
+fi
+python2 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/sqlalchemy-migrate/sqlalchemy-migrate.info b/python/sqlalchemy-migrate/sqlalchemy-migrate.info
index cee03a6ced6e..8c68abfe7937 100644
--- a/python/sqlalchemy-migrate/sqlalchemy-migrate.info
+++ b/python/sqlalchemy-migrate/sqlalchemy-migrate.info
@@ -1,8 +1,8 @@
PRGNAM="sqlalchemy-migrate"
-VERSION="0.11.0"
+VERSION="0.12.0"
HOMEPAGE="https://github.com/openstack/sqlalchemy-migrate"
-DOWNLOAD="https://pypi.python.org/packages/05/18/6d339bd6222f7a7613638fafc9ff4c4f0e312843d359e85489dc07b21df5/sqlalchemy-migrate-0.11.0.tar.gz"
-MD5SUM="f68c75280270f2fb2824633ef8633628"
+DOWNLOAD="https://files.pythonhosted.org/packages/2a/a0/7f24bcc3a84094629bba5ca023ef982730c70b250ae2088043234ca11422/sqlalchemy-migrate-0.12.0.tar.gz"
+MD5SUM="6a4920f2a2e07d193e95cf712d762b08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pbr SQLAlchemy decorator six sqlparse tempita"