diff --git a/python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild b/python/sqlalchemy-migrate/sqlalchemy-migrate.SlackBuild index 42fb5b0b5a..ceb1070628 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-2020 Kyle Guinn +# Copyright 2014-2021 Kyle Guinn # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=sqlalchemy-migrate VERSION=${VERSION:-0.13.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,12 +63,9 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go-w,a+rX-st . -# 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 +rm -rf build +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION