diff --git a/python/pyotp/pyotp.SlackBuild b/python/pyotp/pyotp.SlackBuild index a8b3154bc0..d1ff8af93c 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 +# Copyright 2018-2020 Dominik Drobek # 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 fd4a333d59..e5c9145b6e 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"