From e36b996f9f6d13e744cf22b72e44149afe606a62 Mon Sep 17 00:00:00 2001 From: Pouria Rezaei Date: Fri, 21 Jun 2024 14:20:13 +0330 Subject: [PATCH] python/python3-tekore: Updated to 5.1.1. Signed-off-by: Pouria Rezaei --- python/python3-tekore/python3-tekore.SlackBuild | 11 +++++------ python/python3-tekore/python3-tekore.info | 8 ++++---- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/python/python3-tekore/python3-tekore.SlackBuild b/python/python3-tekore/python3-tekore.SlackBuild index 44cc78b33a8..2d8abf4dc55 100644 --- a/python/python3-tekore/python3-tekore.SlackBuild +++ b/python/python3-tekore/python3-tekore.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-tekore -# Copyright 2019-2022 Pouria Rezaei +# Copyright 2019-2024 Pouria Rezaei # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tekore SRCNAM=tekore -VERSION=${VERSION:-4.3.0} +VERSION=${VERSION:-5.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,11 +79,10 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i -e "s~.*scripts=glob.glob(\"Scripts/\*.py\"),~~" setup.py - -python3 setup.py install --root=$PKG +python3 -m build --wheel --no-isolation +python3 -m installer --destdir="$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/python3-tekore/python3-tekore.info b/python/python3-tekore/python3-tekore.info index 7131a79faa5..a88560b900a 100644 --- a/python/python3-tekore/python3-tekore.info +++ b/python/python3-tekore/python3-tekore.info @@ -1,10 +1,10 @@ PRGNAM="python3-tekore" -VERSION="4.3.0" +VERSION="5.1.1" HOMEPAGE="https://pypi.org/project/tekore/" -DOWNLOAD="https://files.pythonhosted.org/packages/60/35/faea7eb3e936eeb30edb196245ce280512139c084afd5245a6fe3cbaa477/tekore-4.3.0.tar.gz" -MD5SUM="d58ba00cd9271d97c926b52b257a158e" +DOWNLOAD="https://github.com/felix-hilden/tekore/archive/v5.1.1/tekore-5.1.1.tar.gz" +MD5SUM="12250450c0584df39513439d5e8e52f5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Pouria Rezaei" EMAIL="Pouria.rz@outlook.com"