aboutsummaryrefslogtreecommitdiff
path: root/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild')
-rw-r--r--python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild
index 2eade897d2..004cbb6c47 100644
--- a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild
+++ b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild
@@ -30,23 +30,19 @@
# Thanks to Nikos Glotis for testing this version
# 25/02/2024: Updated to version 0.39.0
-
# 24/05/2024: Updated to version 0.39.1
-
# 21/08/2024: Updated to version 0.39.3
-
# 11/09/2024: Updated to version 0.39.5
-
# 11/10/2024: Updated to version 0.41.0
-
# 18/02/2025: updated to version 0.45.0
+# 13/05/2025: updated to version 0.50.2
#-------------------------------------------------------------------------------#
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-uharfbuzz
-VERSION=${VERSION:-0.45.0}
+VERSION=${VERSION:-0.50.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -92,9 +88,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-
cd $SRCNAM-$VERSION
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -102,6 +96,9 @@ 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:/opt/cython/python$PYVER/site-packages"
+export PATH="/opt/cython/bin:$PATH"
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl