aboutsummaryrefslogtreecommitdiff
path: root/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-11-19 19:29:34 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-23 10:50:48 +0700
commit207ba01bb3735cc8e36ac83f1f2339b2eb7779fc (patch)
tree0f923c50649b6e0b2efbab0ab6683fff47f0aad3 /python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild
parentfb0f86f9634d22ce879a1d17fb176c1742bde3e5 (diff)
python/python3-Flask-Security-Too: Updated for version 5.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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.SlackBuild9
1 files changed, 6 insertions, 3 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..afdc109f1b 100644
--- a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild
+++ b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild
@@ -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.5.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