aboutsummaryrefslogtreecommitdiff
path: root/python/python3-ufo2ft/python3-ufo2ft.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-ufo2ft/python3-ufo2ft.SlackBuild')
-rw-r--r--python/python3-ufo2ft/python3-ufo2ft.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/python3-ufo2ft/python3-ufo2ft.SlackBuild b/python/python3-ufo2ft/python3-ufo2ft.SlackBuild
index 59e4599d8d..3df7c540d0 100644
--- a/python/python3-ufo2ft/python3-ufo2ft.SlackBuild
+++ b/python/python3-ufo2ft/python3-ufo2ft.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-ufo2ft
-# Copyright 2023-2024 Vijay Marcel
+# Copyright 2023-2025 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-ufo2ft
-VERSION=${VERSION:-3.3.1}
+VERSION=${VERSION:-3.6.8}
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
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl