diff options
Diffstat (limited to 'python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild')
-rw-r--r-- | python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild index 3bcc71d6b2..004cbb6c47 100644 --- a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild +++ b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-uharfbuzz -# Copyright 2023-2024 Vijay Marcel +# Copyright 2023-2025 Vijay Marcel # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -30,21 +30,19 @@ # Thanks to Nikos Glotis for testing this version # 25/02/2024: Updated to version 0.39.0 - -# 24/05/20204: Updated to version 0.39.1 - +# 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 - -# 10/07/2024: Updated to version 0.41.0 +# 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.41.0} +VERSION=${VERSION:-0.50.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -90,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 \ @@ -100,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 @@ -116,4 +115,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE +/sbin/makepkg -l y -c n --remove-rpaths --remove-tmp-rpaths $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |