From 8a04a18e556edd37770c7b4bd3e4392e51c253e6 Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Fri, 10 May 2024 01:26:19 -0600 Subject: [PATCH] python/python3-Flask-Cors: Updated for version 4.0.1. Signed-off-by: Willy Sudiarto Raharjo --- .../python3-Flask-Cors.SlackBuild | 23 +++---------------- .../python3-Flask-Cors.info | 6 ++--- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild b/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild index dc9de3a222..5f4074fbce 100644 --- a/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild +++ b/python/python3-Flask-Cors/python3-Flask-Cors.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-Flask-Cors -# Copyright 2022-23 fourtysixandtwo +# Copyright 2022-2024 fourtysixandtwo # 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 diff --git a/python/python3-Flask-Cors/python3-Flask-Cors.info b/python/python3-Flask-Cors/python3-Flask-Cors.info index 0f80c0a0dc..1ae7545b95 100644 --- a/python/python3-Flask-Cors/python3-Flask-Cors.info +++ b/python/python3-Flask-Cors/python3-Flask-Cors.info @@ -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"