mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/sqlalchemy-migrate: Updated for version 0.12.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
This commit is contained in:
parent
7801b80f72
commit
1e6e7f81c2
2 changed files with 12 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue