diff options
| author | Pouria Rezaei <Pouria.rz@outlook.com> | 2025-01-13 17:36:17 +0330 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-01-18 08:13:13 +0700 |
| commit | c237ad4c1fbc0302e5baee25bb3a6d00138c55f5 (patch) | |
| tree | edac23308dac4f8d149d59051391d6bae2335161 /python/python3-tekore/python3-tekore.SlackBuild | |
| parent | 2d1f052a617d73e4ee15f77d3af205ae1b61eb9b (diff) | |
python/python3-tekore: Updated to 6.0.0.
Signed-off-by: Pouria Rezaei <Pouria.rz@outlook.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-tekore/python3-tekore.SlackBuild')
| -rw-r--r-- | python/python3-tekore/python3-tekore.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/python/python3-tekore/python3-tekore.SlackBuild b/python/python3-tekore/python3-tekore.SlackBuild index 6885ce7c17..0fe98e82bf 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-2024 Pouria Rezaei <Pouria.rz@outlook.com> +# Copyright 2019-2025 Pouria Rezaei <Pouria.rz@outlook.com> # 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:-5.5.1} +VERSION=${VERSION:-6.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,7 +68,9 @@ find -L . \ -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/ +if [ $PYVER = "3.9" ]; then + export PYTHONPATH=/opt/python$PYVER/site-packages/ +fi python3 -m build --wheel --no-isolation python3 -m installer --destdir="$PKG" dist/*.whl |
