From 2fada4ebba1104fee79b3314cfe7ec15ac6d0ba3 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 15 May 2021 22:02:08 +0300 Subject: python/Flask: Removed Python 2 support. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- python/Flask/Flask.SlackBuild | 6 +++--- python/Flask/Flask.info | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'python/Flask') 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" -- cgit v1.2.3