python/python3-Flask-SQLAlchemy: Updated for version 3.1.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2024-03-24 02:30:30 -06:00 committed by Willy Sudiarto Raharjo
parent aeece2a18d
commit a16d065ef1
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 5 additions and 22 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for python3-Flask-SQLAlchemy # Slackware build script for python3-Flask-SQLAlchemy
# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-Flask-SQLAlchemy PRGNAM=python3-Flask-SQLAlchemy
SRCNAM=flask_sqlalchemy SRCNAM=flask_sqlalchemy
VERSION=${VERSION:-3.0.5} VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -50,23 +50,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} 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 set -e
rm -rf $PKG rm -rf $PKG

View File

@ -1,8 +1,8 @@
PRGNAM="python3-Flask-SQLAlchemy" PRGNAM="python3-Flask-SQLAlchemy"
VERSION="3.0.5" VERSION="3.1.1"
HOMEPAGE="https://github.com/mitsuhiko/flask-sqlalchemy" HOMEPAGE="https://github.com/mitsuhiko/flask-sqlalchemy"
DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-sqlalchemy/flask_sqlalchemy-3.0.5.tar.gz" DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-sqlalchemy/flask_sqlalchemy-3.1.1.tar.gz"
MD5SUM="d7273df5991bcd9510afe52a1cb07bfc" MD5SUM="b2439ba29a86fd594e0de4fc0e42ceb6"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="Flask SQLAlchemy" REQUIRES="Flask SQLAlchemy"