python/pyotp: Updated for version 2.9.0; new maintainer.

Signed-off-by: Erich Ritz <erich.public@protonmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erich Ritz 2024-10-08 13:21:19 -05:00 committed by Willy Sudiarto Raharjo
parent 7b48a42e40
commit 153eceee26
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 23 deletions

View file

@ -2,6 +2,7 @@
# Slackware build script for pyotp
# Copyright 2024 Erich Ritz, Jenks, Oklahoma, USA
# Copyright 2018-2020 Dominik Drobek <dominik.drobek (at) o2.pl>
# 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

View file

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