aboutsummaryrefslogtreecommitdiff
path: root/python/python-qrcode
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-qrcode')
-rw-r--r--python/python-qrcode/python-qrcode.SlackBuild25
-rw-r--r--python/python-qrcode/python-qrcode.info6
2 files changed, 9 insertions, 22 deletions
diff --git a/python/python-qrcode/python-qrcode.SlackBuild b/python/python-qrcode/python-qrcode.SlackBuild
index 72688e156b..04bafe2086 100644
--- a/python/python-qrcode/python-qrcode.SlackBuild
+++ b/python/python-qrcode/python-qrcode.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-qrcode
-# Copyright 2015-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-qrcode
-VERSION=${VERSION:-8.0}
+SRCNAM=qrcode
+VERSION=${VERSION:-8.2}
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 \
diff --git a/python/python-qrcode/python-qrcode.info b/python/python-qrcode/python-qrcode.info
index 730e54f415..ad143784b3 100644
--- a/python/python-qrcode/python-qrcode.info
+++ b/python/python-qrcode/python-qrcode.info
@@ -1,8 +1,8 @@
PRGNAM="python-qrcode"
-VERSION="8.0"
+VERSION="8.2"
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/8f/b2/7fc2931bfae0af02d5f53b174e9cf701adbb35f39d69c2af63d4a39f81a9/qrcode-8.2.tar.gz"
+MD5SUM="c1dd482e98405aa0aaf4d5cf5685f57a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-pypng python3-wheel python3-poetry-core"