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>
This commit is contained in:
fourtysixandtwo 2022-05-12 19:30:44 -06:00 committed by Willy Sudiarto Raharjo
parent 894ea0e7d0
commit dc3882675a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 4 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="python3-Flask-httpauth"
VERSION="3.3.0"
VERSION="4.6.0"
HOMEPAGE="https://github.com/miguelgrinberg/flask-httpauth/"
DOWNLOAD="https://files.pythonhosted.org/packages/e0/95/798367396accd78a9cc7976345da7c7eed48b8e3666307839ea9e7e82890/Flask-HTTPAuth-3.3.0.tar.gz"
MD5SUM="0ec5abc78e2fbb4cc624011c9f60d2ee"
DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flask-httpauth/Flask-HTTPAuth-4.6.0.tar.gz"
MD5SUM="2935240e00e2f0fb37e23fd70a81a9b1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Flask"