python/python3-uharfbuzz: Updated for version 0.37.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bfb2517f94
commit
2cfc119a17
|
@ -4,3 +4,8 @@ Changelog for python3-uharfbuzz SlackBuild Script
|
|||
10/06/2023:
|
||||
|
||||
submitted to slackBuilds.org
|
||||
|
||||
08/12/2023:
|
||||
|
||||
Upgraded to version 0.37.3
|
||||
Thanks to Nikos Glotis for testing this version
|
||||
|
|
|
@ -25,13 +25,12 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=python3-uharfbuzz
|
||||
VERSION=${VERSION:-0.20.0}
|
||||
VERSION=${VERSION:-0.37.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
SRCNAM=${SRCNAM:-uharfbuzz}
|
||||
harfbuzz_src=${harfbuzz_src:-harfbuzz}
|
||||
harfbuzz_ver=${harfbuzz_ver:-3.2.0}
|
||||
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -71,10 +70,7 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||
tar xvf $CWD/$harfbuzz_src-$harfbuzz_ver.tar.gz
|
||||
|
||||
cp -a $TMP/$harfbuzz_src-$harfbuzz_ver/src $TMP/$SRCNAM-$VERSION/harfbuzz/
|
||||
unzip $CWD/$SRCNAM-$VERSION.zip
|
||||
|
||||
cd $SRCNAM-$VERSION
|
||||
|
||||
|
@ -85,19 +81,13 @@ 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 {} \;
|
||||
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${VERSION}
|
||||
python3 -m build --wheel --no-isolation
|
||||
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python3 -m installer --destdir="$PKG" dist/*.whl
|
||||
python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
||||
|
||||
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
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cd .. && cd $TMP/$harfbuzz_src-$harfbuzz_ver
|
||||
cp -a COPYING AUTHORS THANKS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cd .. && cd $SRCNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+
|
||||
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
PRGNAM="python3-uharfbuzz"
|
||||
VERSION="0.20.0"
|
||||
VERSION="0.37.3"
|
||||
HOMEPAGE="https://wwww.github.com/harfbuzz/uharfbuzz"
|
||||
DOWNLOAD="https://github.com/harfbuzz/uharfbuzz/archive/v0.20.0/uharfbuzz-0.20.0.tar.gz \
|
||||
https://github.com/harfbuzz/harfbuzz/archive/3.2.0/harfbuzz-3.2.0.tar.gz"
|
||||
MD5SUM="c017c763389e3f8a5e108c3760c8f2ec \
|
||||
148168f3e8d3bb5b4ec1a13a50bb9155"
|
||||
DOWNLOAD="https://pypi.io/packages/source/u/uharfbuzz/uharfbuzz-0.37.3.zip"
|
||||
MD5SUM="93fc672af1c23425fa9be50d2d12a01c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3-wheel python3-pytest python3-pytest-cov python3-build typing-extensions"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Vijay Marcel"
|
||||
EMAIL="vijaymarcel@outlook.com"
|
||||
|
|
Loading…
Reference in New Issue