diff --git a/python/python3-tekore/python3-tekore.SlackBuild b/python/python3-tekore/python3-tekore.SlackBuild index 92bdcb032..5fb78b79d 100644 --- a/python/python3-tekore/python3-tekore.SlackBuild +++ b/python/python3-tekore/python3-tekore.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tekore SRCNAM=tekore -VERSION=${VERSION:-5.4.0} +VERSION=${VERSION:-5.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,6 +81,8 @@ 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 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ python3 -m build --wheel --no-isolation python3 -m installer --destdir="$PKG" dist/*.whl diff --git a/python/python3-tekore/python3-tekore.info b/python/python3-tekore/python3-tekore.info index 6c6ba68da..d32c6d2f3 100644 --- a/python/python3-tekore/python3-tekore.info +++ b/python/python3-tekore/python3-tekore.info @@ -1,10 +1,10 @@ PRGNAM="python3-tekore" -VERSION="5.4.0" +VERSION="5.5.0" HOMEPAGE="https://pypi.org/project/tekore/" -DOWNLOAD="https://github.com/felix-hilden/tekore/archive/v5.4.0/tekore-5.4.0.tar.gz" -MD5SUM="8a2b8b5b6bad6c64c055dfa39d2c634a" +DOWNLOAD="https://github.com/felix-hilden/tekore/archive/v5.5.0/tekore-5.5.0.tar.gz" +MD5SUM="5dc29c9391364dcef0e0ebc37554fa77" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Pouria Rezaei" EMAIL="Pouria.rz@outlook.com"