python/pyotp: Updated for version 2.4.1.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dominik Drobek 2020-12-05 00:54:18 +00:00 committed by Willy Sudiarto Raharjo
parent 1a77ce7d1c
commit 1af5fdf1bc
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for pyotp
# Copyright 2018, 2019 Dominik Drobek <dominik.drobek (at) o2.pl>
# Copyright 2018-2020 Dominik Drobek <dominik.drobek (at) o2.pl>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pyotp
VERSION=${VERSION:-2.3.0}
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,11 +69,7 @@ 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 {} \;
python setup.py install --root=$PKG
if $(python3 -c 'import sys' 2>/dev/null); then
python3 setup.py install --root=$PKG
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="pyotp"
VERSION="2.3.0"
VERSION="2.4.1"
HOMEPAGE="https://pypi.org/project/pyotp/"
DOWNLOAD="https://files.pythonhosted.org/packages/f7/15/395c4945ea6bc37e8811280bb675615cb4c2b2c1cd70bdc43329da91a386/pyotp-2.3.0.tar.gz"
MD5SUM="d445da203b0e60b5b386d07fdb431e14"
DOWNLOAD="https://files.pythonhosted.org/packages/4f/b4/21f8c6b0b941f8bea4587088a40d8a207851b19cb07ca8fa0a1e38e27082/pyotp-2.4.1.tar.gz"
MD5SUM="e8967efbff11497e3700ccfc150496ad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="python3"
MAINTAINER="Dominik Drobek"
EMAIL="dominik.drobek (at) o2.pl"