summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2023-05-14 02:54:16 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:21 +0700
commit01a593132af2b8c0d53e422c40ccb4c3110a03d3 (patch)
tree742d9207819985867430713536cef88f0e0f1966
parent9b468c2eec8a56386dba1114d77f6d56978df5ca (diff)
downloadslackbuilds-01a593132af2b8c0d53e422c40ccb4c3110a03d3.tar.gz
slackbuilds-01a593132af2b8c0d53e422c40ccb4c3110a03d3.tar.xz
python/python3-Flask-Dance: Updated for version 7.0.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-Flask-Dance/python3-Flask-Dance.SlackBuild13
-rw-r--r--python/python3-Flask-Dance/python3-Flask-Dance.info6
2 files changed, 8 insertions, 11 deletions
diff --git a/python/python3-Flask-Dance/python3-Flask-Dance.SlackBuild b/python/python3-Flask-Dance/python3-Flask-Dance.SlackBuild
index f884f32e29..c761c59c03 100644
--- a/python/python3-Flask-Dance/python3-Flask-Dance.SlackBuild
+++ b/python/python3-Flask-Dance/python3-Flask-Dance.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-Flask-Dance
-# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-Flask-Dance
-SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
-VERSION=${VERSION:-6.2.0}
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-7.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -79,9 +76,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
diff --git a/python/python3-Flask-Dance/python3-Flask-Dance.info b/python/python3-Flask-Dance/python3-Flask-Dance.info
index db3235397c..90bfebabaa 100644
--- a/python/python3-Flask-Dance/python3-Flask-Dance.info
+++ b/python/python3-Flask-Dance/python3-Flask-Dance.info
@@ -1,8 +1,8 @@
PRGNAM="python3-Flask-Dance"
-VERSION="6.2.0"
+VERSION="7.0.0"
HOMEPAGE="https://github.com/singingwolfboy/flask-dance"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-dance/Flask-Dance-6.2.0.tar.gz"
-MD5SUM="d8abc6a3700d8f8180cbf3e0c6ded115"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-dance/Flask-Dance-7.0.0.tar.gz"
+MD5SUM="2a0867abe6ebe553d668560ae9476a93"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-build python3-flit_core Flask requests-oauthlib python3-urlobject python3-installer"