From 153eceee26b061518a26da649468e2dafd493fc6 Mon Sep 17 00:00:00 2001 From: Erich Ritz Date: Tue, 8 Oct 2024 13:21:19 -0500 Subject: [PATCH] python/pyotp: Updated for version 2.9.0; new maintainer. Signed-off-by: Erich Ritz Signed-off-by: Willy Sudiarto Raharjo --- python/pyotp/pyotp.SlackBuild | 20 ++------------------ python/pyotp/pyotp.info | 10 +++++----- 2 files changed, 7 insertions(+), 23 deletions(-) diff --git a/python/pyotp/pyotp.SlackBuild b/python/pyotp/pyotp.SlackBuild index dce803137f..a80658a696 100644 --- a/python/pyotp/pyotp.SlackBuild +++ b/python/pyotp/pyotp.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for pyotp +# Copyright 2024 Erich Ritz, Jenks, Oklahoma, USA # Copyright 2018-2020 Dominik Drobek # All rights reserved. # @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyotp -VERSION=${VERSION:-2.4.1} +VERSION=${VERSION:-2.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -50,20 +48,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/python/pyotp/pyotp.info b/python/pyotp/pyotp.info index 5fb1776df5..9b0752e290 100644 --- a/python/pyotp/pyotp.info +++ b/python/pyotp/pyotp.info @@ -1,10 +1,10 @@ PRGNAM="pyotp" -VERSION="2.4.1" +VERSION="2.9.0" HOMEPAGE="https://pypi.org/project/pyotp/" -DOWNLOAD="https://files.pythonhosted.org/packages/4f/b4/21f8c6b0b941f8bea4587088a40d8a207851b19cb07ca8fa0a1e38e27082/pyotp-2.4.1.tar.gz" -MD5SUM="e8967efbff11497e3700ccfc150496ad" +DOWNLOAD="https://files.pythonhosted.org/packages/f3/b2/1d5994ba2acde054a443bd5e2d384175449c7d2b6d1a0614dbca3a63abfc/pyotp-2.9.0.tar.gz" +MD5SUM="7b8838bc0553f4dd8ef6228c79f501de" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere.com" +MAINTAINER="Erich Ritz" +EMAIL="erich.public@protonmail.com"