From 3da756a7071d5706e730360bd2b8a1f320052bce Mon Sep 17 00:00:00 2001 From: Arn0 Date: Mon, 10 Feb 2025 10:20:00 +0100 Subject: python/python3-pyjwt: updated for version 2.10.1 Signed-off-by: Willy Sudiarto Raharjo --- python/python3-pyjwt/python3-pyjwt.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'python/python3-pyjwt/python3-pyjwt.SlackBuild') diff --git a/python/python3-pyjwt/python3-pyjwt.SlackBuild b/python/python3-pyjwt/python3-pyjwt.SlackBuild index ad7c261536..4cd6cee308 100644 --- a/python/python3-pyjwt/python3-pyjwt.SlackBuild +++ b/python/python3-pyjwt/python3-pyjwt.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pyjwt SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-2.8.0} +VERSION=${VERSION:-2.10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,7 +74,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS* CHANGELOG* LICENSE* MANIFEST* README* $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3