aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2024-02-24 12:35:23 +1100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-24 11:39:52 +0700
commit23e865fab696fe8a3346dad0a40c76e718e72f70 (patch)
treed7d5887f66c2ea5599800d8b3ff9b4ca8b59891f
parentd263a625f151b45925800ea6cba93fb3ff2f3631 (diff)
downloadslackbuilds-23e865fab696fe8a3346dad0a40c76e718e72f70.tar.xz
python/python3-fontMath: Updated for version 0.9.3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-fontMath/python3-fontMath.SlackBuild7
-rw-r--r--python/python3-fontMath/python3-fontMath.info6
2 files changed, 7 insertions, 6 deletions
diff --git a/python/python3-fontMath/python3-fontMath.SlackBuild b/python/python3-fontMath/python3-fontMath.SlackBuild
index e0360355d619..e8404e6db753 100644
--- a/python/python3-fontMath/python3-fontMath.SlackBuild
+++ b/python/python3-fontMath/python3-fontMath.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-fontMath
-# Copyright 2022 Duncan Roe, Melbourne, Australia
+# Copyright 2022-2024 Duncan Roe, Melbourne, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-fontMath
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-0.9.1}
+VERSION=${VERSION:-0.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -52,6 +52,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
rm -rf $PKG
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 \
-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
cp -a License.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/python3-fontMath/python3-fontMath.info b/python/python3-fontMath/python3-fontMath.info
index 3a7ff4007f4b..2cb9a867f990 100644
--- a/python/python3-fontMath/python3-fontMath.info
+++ b/python/python3-fontMath/python3-fontMath.info
@@ -1,8 +1,8 @@
PRGNAM="python3-fontMath"
-VERSION="0.9.1"
+VERSION="0.9.3"
HOMEPAGE="https://pypi.org/project/fontMath/"
-DOWNLOAD="https://files.pythonhosted.org/packages/b8/4a/fe75a801004b26e7be7d8949410b19193f935c1ffbdd1f701f6f3dc4f806/fontMath-0.9.1.zip"
-MD5SUM="2edc7a58cf90f73503fa661e47002e01"
+DOWNLOAD="https://pypi.io/packages/source/f/fontmath/fontMath-0.9.3.zip"
+MD5SUM="9236b5bf2fe0ef1e9faa1172df819387"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""