aboutsummaryrefslogtreecommitdiff
path: root/python/python3-Flask-Security-Too
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-Flask-Security-Too')
-rw-r--r--python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild11
-rw-r--r--python/python3-Flask-Security-Too/python3-Flask-Security-Too.info6
2 files changed, 10 insertions, 7 deletions
diff --git a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild
index 39f933090a..29b1be6da6 100644
--- a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild
+++ b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-Flask-Security-Too
-# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-Flask-Security-Too
-SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-5.4.3}
+SRCNAM=flask_security_too
+VERSION=${VERSION:-5.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,6 +64,9 @@ 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 {} \+
+# transitional issue as project is dropping the "too" at some point
+mv pyproject-too.toml pyproject.toml
+
# lower version requirements
sed -i '/importlib_resources/ s/5\.10/5.1/' pyproject.toml
sed -i '/markupsafe/ s/2\.1\.0/2.0.1/' pyproject.toml
@@ -78,7 +81,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGES.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGES.rst LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.info b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.info
index bac3a0a03d..52fa0be211 100644
--- a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.info
+++ b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.info
@@ -1,8 +1,8 @@
PRGNAM="python3-Flask-Security-Too"
-VERSION="5.4.3"
+VERSION="5.6.2"
HOMEPAGE="https://github.com/Flask-Middleware/flask-security"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-security-too/Flask-Security-Too-5.4.3.tar.gz"
-MD5SUM="a5958cd9c4f0b1297a696436e569bb72"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask_security_too/flask_security_too-5.6.2.tar.gz"
+MD5SUM="a8efb5da56287a8ae97d60ec901bf29a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-Flask-Login python3-Flask-Principal python3-Flask-WTF python3-passlib email-validator importlib-resources"