aboutsummaryrefslogtreecommitdiff
path: root/python/pyotp
diff options
context:
space:
mode:
authorDominik Drobek <dominik.drobek (at) o2.pl>2020-12-05 00:54:18 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-12-06 07:59:51 +0700
commit1af5fdf1bc106d9959290b99748be3b5ba1d38fc (patch)
tree3051168c4bcb9b58a25b274143b737ef6ed8f3d2 /python/pyotp
parent1a77ce7d1ca44415b9760278da974030077a32ab (diff)
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>
Diffstat (limited to 'python/pyotp')
-rw-r--r--python/pyotp/pyotp.SlackBuild10
-rw-r--r--python/pyotp/pyotp.info8
2 files changed, 7 insertions, 11 deletions
diff --git a/python/pyotp/pyotp.SlackBuild b/python/pyotp/pyotp.SlackBuild
index a8b3154bc078..d1ff8af93cc1 100644
--- a/python/pyotp/pyotp.SlackBuild
+++ b/python/pyotp/pyotp.SlackBuild
@@ -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
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/pyotp/pyotp.info b/python/pyotp/pyotp.info
index fd4a333d5926..e5c9145b6ed3 100644
--- a/python/pyotp/pyotp.info
+++ b/python/pyotp/pyotp.info
@@ -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"