aboutsummaryrefslogtreecommitdiff
path: root/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild')
-rw-r--r--python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild11
1 files changed, 7 insertions, 4 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