python/python3-Flask-Cors: Updated for version 4.0.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2024-05-10 01:26:19 -06:00 committed by Willy Sudiarto Raharjo
parent 851c7f1a43
commit 8a04a18e55
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 6 additions and 23 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for python3-Flask-Cors
# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-Flask-Cors
SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-4.0.0}
SRCNAM=flask_cors
VERSION=${VERSION:-4.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -50,23 +50,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

View File

@ -1,8 +1,8 @@
PRGNAM="python3-Flask-Cors"
VERSION="4.0.0"
VERSION="4.0.1"
HOMEPAGE="https://github.com/corydolphin/flask-cors"
DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-cors/Flask-Cors-4.0.0.tar.gz"
MD5SUM="0ccfa375e744200243d85719b38cdbc6"
DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask_cors/flask_cors-4.0.1.tar.gz"
MD5SUM="1e1eac64500b970dcb2112f0c6989664"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Flask"