aboutsummaryrefslogtreecommitdiff
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
parentfb0f86f9634d22ce879a1d17fb176c1742bde3e5 (diff)
python/python3-Flask-Security-Too: Updated for version 5.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild9
-rw-r--r--python/python3-Flask-Security-Too/python3-Flask-Security-Too.info6
2 files changed, 9 insertions, 6 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
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..3c0219a1ef 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.5.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.5.2.tar.gz"
+MD5SUM="8c29538e5a588b3073d2e19fa7e5a8fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-Flask-Login python3-Flask-Principal python3-Flask-WTF python3-passlib email-validator importlib-resources"