diff options
Diffstat (limited to 'python/python3-pyjwt')
-rw-r--r-- | python/python3-pyjwt/python3-pyjwt.SlackBuild | 8 | ||||
-rw-r--r-- | python/python3-pyjwt/python3-pyjwt.info | 8 |
2 files changed, 10 insertions, 6 deletions
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 diff --git a/python/python3-pyjwt/python3-pyjwt.info b/python/python3-pyjwt/python3-pyjwt.info index babf8ace87..14eb692939 100644 --- a/python/python3-pyjwt/python3-pyjwt.info +++ b/python/python3-pyjwt/python3-pyjwt.info @@ -1,10 +1,10 @@ PRGNAM="python3-pyjwt" -VERSION="2.8.0" +VERSION="2.10.1" HOMEPAGE="https://github.com/jpadilla/pyjwt" -DOWNLOAD="https://github.com/jpadilla/pyjwt/archive/2.8.0/pyjwt-2.8.0.tar.gz" -MD5SUM="d434e3916a3245680d8a7635c9a0702c" +DOWNLOAD="https://github.com/jpadilla/pyjwt/archive/2.10.1/pyjwt-2.10.1.tar.gz" +MD5SUM="82ccd93a981f63841d6be89bd8d42ccb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" |