diff options
author | Vijay Marcel <vijaymarcel@outlook.com> | 2024-02-26 08:06:16 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-02-28 12:22:40 +0700 |
commit | cf02d61ce4b5784120f5291c1287adc2b1e79fa3 (patch) | |
tree | 6fc701a7998b959f622d3f4a66416ae85e8d0db8 /python/python3-uharfbuzz | |
parent | b04d6e284600d5aef60f254bfc0affaa1d070d1e (diff) |
python/python3-uharfbuzz: Updated for version 0.39.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-uharfbuzz')
-rw-r--r-- | python/python3-uharfbuzz/changelog | 4 | ||||
-rw-r--r-- | python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild | 15 | ||||
-rw-r--r-- | python/python3-uharfbuzz/python3-uharfbuzz.info | 10 |
3 files changed, 17 insertions, 12 deletions
diff --git a/python/python3-uharfbuzz/changelog b/python/python3-uharfbuzz/changelog index 2bc26ea2f5c8f..faf6c971783d1 100644 --- a/python/python3-uharfbuzz/changelog +++ b/python/python3-uharfbuzz/changelog @@ -9,3 +9,7 @@ submitted to slackBuilds.org Upgraded to version 0.37.3 Thanks to Nikos Glotis for testing this version + +25/02/2024: + +Updated to version 0.39.0 diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild b/python/python3-uharfbuzz/python3-uharfbuzz.SlackBuild index 36624383176f6..63109c27f3acc 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 Vijay Marcel +# Copyright 2023-2024 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-uharfbuzz -VERSION=${VERSION:-0.37.3} +VERSION=${VERSION:-0.39.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,13 +50,13 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC" + SLKCFLAGS="-march=i586 -mtune=i686 -pipe" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" + SLKCFLAGS="-march=i686 -mtune=i686 -pipe" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC" + SLKCFLAGS="-march=x86-64 -mtune=generic -pipe" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" @@ -81,10 +81,11 @@ 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 {} \; -python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" 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 + | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/python3-uharfbuzz/python3-uharfbuzz.info b/python/python3-uharfbuzz/python3-uharfbuzz.info index 8fc77f75a51b0..451187acd8dd7 100644 --- a/python/python3-uharfbuzz/python3-uharfbuzz.info +++ b/python/python3-uharfbuzz/python3-uharfbuzz.info @@ -1,10 +1,10 @@ PRGNAM="python3-uharfbuzz" -VERSION="0.37.3" -HOMEPAGE="https://wwww.github.com/harfbuzz/uharfbuzz" -DOWNLOAD="https://pypi.io/packages/source/u/uharfbuzz/uharfbuzz-0.37.3.zip" -MD5SUM="93fc672af1c23425fa9be50d2d12a01c" +VERSION="0.39.0" +HOMEPAGE="https://www.github.com/harfbuzz/uharfbuzz" +DOWNLOAD="https://pypi.io/packages/source/u/uharfbuzz/uharfbuzz-0.39.0.zip" +MD5SUM="2754f0861a664ea2e23a29de0c28e59c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-build python3-wheel" MAINTAINER="Vijay Marcel" EMAIL="vijaymarcel@outlook.com" |