python/python3-fontMath: Updated for version 0.9.3

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Duncan Roe 2024-02-24 12:35:23 +11:00 committed by Willy Sudiarto Raharjo
parent d263a625f1
commit 23e865fab6
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for python3-fontMath # Slackware build script for python3-fontMath
# Copyright 2022 Duncan Roe, Melbourne, Australia # Copyright 2022-2024 Duncan Roe, Melbourne, Australia
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-fontMath PRGNAM=python3-fontMath
SRCNAM=${PRGNAM#python3-*} SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-0.9.1} VERSION=${VERSION:-0.9.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -52,6 +52,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e set -e
trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -66,7 +67,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python3 setup.py install --root=$PKG python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a License.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION cp -a License.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,8 +1,8 @@
PRGNAM="python3-fontMath" PRGNAM="python3-fontMath"
VERSION="0.9.1" VERSION="0.9.3"
HOMEPAGE="https://pypi.org/project/fontMath/" HOMEPAGE="https://pypi.org/project/fontMath/"
DOWNLOAD="https://files.pythonhosted.org/packages/b8/4a/fe75a801004b26e7be7d8949410b19193f935c1ffbdd1f701f6f3dc4f806/fontMath-0.9.1.zip" DOWNLOAD="https://pypi.io/packages/source/f/fontmath/fontMath-0.9.3.zip"
MD5SUM="2edc7a58cf90f73503fa661e47002e01" MD5SUM="9236b5bf2fe0ef1e9faa1172df819387"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""