Browse Source

python/python-qrcode: Updated for version 8.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/288/head
Willy Sudiarto Raharjo 8 months ago
parent
commit
2d31192182
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 23
      python/python-qrcode/python-qrcode.SlackBuild
  2. 6
      python/python-qrcode/python-qrcode.info

23
python/python-qrcode/python-qrcode.SlackBuild

@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-qrcode
VERSION=${VERSION:-8.0}
SRCNAM=qrcode
VERSION=${VERSION:-8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -47,28 +48,14 @@ 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
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

6
python/python-qrcode/python-qrcode.info

@ -1,8 +1,8 @@
PRGNAM="python-qrcode"
VERSION="8.0"
VERSION="8.1"
HOMEPAGE="https://github.com/lincolnloop/python-qrcode"
DOWNLOAD="https://github.com/lincolnloop/python-qrcode/archive/v8.0/python-qrcode-8.0.tar.gz"
MD5SUM="d4e5aa1795a50c07bc67965313a7684d"
DOWNLOAD="https://files.pythonhosted.org/packages/61/d4/d222d00f65c81945b55e8f64011c33cb11a2931957ba3e2845fb0874fffe/qrcode-8.1.tar.gz"
MD5SUM="71039efd5939238780bcd6861bf0bc50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-pypng python3-wheel python3-poetry-core"

Loading…
Cancel
Save