mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
7b48a42e40
commit
153eceee26
2 changed files with 7 additions and 23 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue