aboutsummaryrefslogtreecommitdiff
path: root/python/python3-Flask-httpauth/python3-Flask-httpauth.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-05-12 19:30:44 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-06 20:16:02 +0700
commitdc3882675a1fa3af6d8baadbbce9d7e1beb99069 (patch)
tree456920f08f6f420c240f66361ba7f6ed123206e0 /python/python3-Flask-httpauth/python3-Flask-httpauth.SlackBuild
parent894ea0e7d059a0ed9de2f349fd451d899e0c1933 (diff)
python/python3-Flask-httpauth: Updated for version 4.6.0.
Fix bad perms in /usr/doc. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-Flask-httpauth/python3-Flask-httpauth.SlackBuild')
-rw-r--r--python/python3-Flask-httpauth/python3-Flask-httpauth.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/python/python3-Flask-httpauth/python3-Flask-httpauth.SlackBuild b/python/python3-Flask-httpauth/python3-Flask-httpauth.SlackBuild
index febe568d4c..c212c190ef 100644
--- a/python/python3-Flask-httpauth/python3-Flask-httpauth.SlackBuild
+++ b/python/python3-Flask-httpauth/python3-Flask-httpauth.SlackBuild
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220512 46and2: Updated version to work with latest Flask and werkzeug.
+# -Fix bad perms in /usr/doc
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-Flask-httpauth
PROGNAM=Flask-HTTPAuth
-VERSION=${VERSION:-3.3.0}
+VERSION=${VERSION:-4.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -90,6 +93,9 @@ cp -a LICENSE PKG-INFO docs/*.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20220512 46and2: bad perms
+find $PKG/usr/doc/$PRGNAM-$VERSION -name index.rst -exec chmod 0644 {} \+
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc