diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2021-05-15 22:02:08 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-27 07:47:21 +0700 |
commit | 2fada4ebba1104fee79b3314cfe7ec15ac6d0ba3 (patch) | |
tree | e819b683803ced5378a1ddfef53caa819d00eac4 /python/Flask | |
parent | 14cf97dad45d60ff8304e4fd8f58a355d3283fcc (diff) |
python/Flask: Removed Python 2 support.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/Flask')
-rw-r--r-- | python/Flask/Flask.SlackBuild | 6 | ||||
-rw-r--r-- | python/Flask/Flask.info | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/python/Flask/Flask.SlackBuild b/python/Flask/Flask.SlackBuild index ac1d206a80dd..adbe39669943 100644 --- a/python/Flask/Flask.SlackBuild +++ b/python/Flask/Flask.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Flask -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=Flask VERSION=${VERSION:-1.1.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -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 {} \; -python2 setup.py install --root=$PKG +python3 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/python/Flask/Flask.info b/python/Flask/Flask.info index 283c43f30254..399ca2894e65 100644 --- a/python/Flask/Flask.info +++ b/python/Flask/Flask.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37e MD5SUM="0da4145d172993cd28a6c619630cc19c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="werkzeug Jinja2 itsdangerous click" +REQUIRES="werkzeug Jinja2 python3-itsdangerous click" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" |