aboutsummaryrefslogtreecommitdiff
path: root/development/alembic
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:14:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:54 +0700
commitf38fc2daa966366d78683dc66d88ecb768647442 (patch)
tree6644cb105d532cda30dc78621165405c99a01940 /development/alembic
parente86ba794e250a9e61d5f06f9f4f98484b3d67caa (diff)
development/alembic: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/alembic')
-rw-r--r--development/alembic/alembic.SlackBuild2
-rw-r--r--development/alembic/alembic.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/development/alembic/alembic.SlackBuild b/development/alembic/alembic.SlackBuild
index e609bdc8d5df..56cde52db0cd 100644
--- a/development/alembic/alembic.SlackBuild
+++ b/development/alembic/alembic.SlackBuild
@@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/development/alembic/alembic.info b/development/alembic/alembic.info
index e0fcb329d3e0..84eedcc14798 100644
--- a/development/alembic/alembic.info
+++ b/development/alembic/alembic.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/6f/42/48447bf41287bc577e4f340e
MD5SUM="6fe272274fce2641b93998ef9b702b76"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SQLAlchemy MarkupSafe python-editor python-dateutil"
+REQUIRES="SQLAlchemy MarkupSafe python2-editor python-dateutil"
MAINTAINER="Chris Walker"
EMAIL="kris240376@gmail.com"