diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-01-05 00:36:54 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-06 08:08:45 +0700 |
commit | dbfd157a378fea02ce3efe78d3a88fed4e3bae5f (patch) | |
tree | 5a07030908c270d5d55fa662896fe75da1332ce4 /python | |
parent | e471c0fe123154ac4775ec044a22ec77aea1fab0 (diff) |
python/Flask: Updated for version 3.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/Flask/Flask.SlackBuild | 23 | ||||
-rw-r--r-- | python/Flask/Flask.info | 6 |
2 files changed, 6 insertions, 23 deletions
diff --git a/python/Flask/Flask.SlackBuild b/python/Flask/Flask.SlackBuild index 1d3db50a80879..ed9056910cfb1 100644 --- a/python/Flask/Flask.SlackBuild +++ b/python/Flask/Flask.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Flask -# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> +# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=Flask SRCNAM=flask -VERSION=${VERSION:-2.3.3} +VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,23 +53,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "aarch64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -96,7 +79,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.rst CHANGES.rst LICENSE.rst PKG-INFO docs/*.rst \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/Flask/Flask.info b/python/Flask/Flask.info index fb7e55749dfd1..656a68cbbb1b3 100644 --- a/python/Flask/Flask.info +++ b/python/Flask/Flask.info @@ -1,8 +1,8 @@ PRGNAM="Flask" -VERSION="2.3.3" +VERSION="3.0.0" HOMEPAGE="http://flask.pocoo.org/" -DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask/flask-2.3.3.tar.gz" -MD5SUM="87c2f9544380d251e7054b960547ee7f" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask/flask-3.0.0.tar.gz" +MD5SUM="4848c9d5305197822b5b00c8e9a6d9aa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="werkzeug python3-itsdangerous click python3-blinker python-importlib_metadata" |