summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author Vijay Marcel2024-02-26 02:06:11 +0100
committer Willy Sudiarto Raharjo2024-02-28 06:22:40 +0100
commitb04d6e284600d5aef60f254bfc0affaa1d070d1e (patch)
treee022769d70ce5ed9b9db495fbed3a069bd629e21 /python
parentb594b89f7ff0e79158a662c6d2b48994dd328414 (diff)
downloadslackbuilds-b04d6e284600d5aef60f254bfc0affaa1d070d1e.tar.gz
python/python3-fontmake: Updated for version 3.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-fontmake/python3-fontmake.SlackBuild7
-rw-r--r--python/python3-fontmake/python3-fontmake.info6
2 files changed, 7 insertions, 6 deletions
diff --git a/python/python3-fontmake/python3-fontmake.SlackBuild b/python/python3-fontmake/python3-fontmake.SlackBuild
index 0bbe3c6fc3..ec152371b3 100644
--- a/python/python3-fontmake/python3-fontmake.SlackBuild
+++ b/python/python3-fontmake/python3-fontmake.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-fontmake
-# 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-fontmake
-VERSION=${VERSION:-3.4.0}
+VERSION=${VERSION:-3.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,8 @@ 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
+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
diff --git a/python/python3-fontmake/python3-fontmake.info b/python/python3-fontmake/python3-fontmake.info
index 28f63670f1..407bc69a72 100644
--- a/python/python3-fontmake/python3-fontmake.info
+++ b/python/python3-fontmake/python3-fontmake.info
@@ -1,8 +1,8 @@
PRGNAM="python3-fontmake"
-VERSION="3.4.0"
+VERSION="3.8.1"
HOMEPAGE="https://github.com/googlei18n/fontmake"
-DOWNLOAD="https://pypi.io/packages/source/f/fontmake/fontmake-3.4.0.zip"
-MD5SUM="e7a4014675ebaf27ebcefb2a6d594fc2"
+DOWNLOAD="https://pypi.io/packages/source/f/fontmake/fontmake-3.8.1.zip"
+MD5SUM="a3504c25f40d720000a98a91373c4609"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-pyclipper python3-fontMath ttfautohint-py python3-MutatorMath python3-glyphslib"