aboutsummaryrefslogtreecommitdiff
path: root/python/python3-rich/python3-rich.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-09-04 05:18:13 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-09 10:14:16 +0700
commit91d2ca69b65be8e00a2c6893c70c45937f629738 (patch)
treea60ef2df8e3357f924dd36c72dcdcb75f2a40ece /python/python3-rich/python3-rich.SlackBuild
parent99ac9d3700c66176ca530765af134d143f0023db (diff)
python/python3-rich: Updated for version 13.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-rich/python3-rich.SlackBuild')
-rw-r--r--python/python3-rich/python3-rich.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/python/python3-rich/python3-rich.SlackBuild b/python/python3-rich/python3-rich.SlackBuild
index 4a52f6bb43..2a75552379 100644
--- a/python/python3-rich/python3-rich.SlackBuild
+++ b/python/python3-rich/python3-rich.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-rich
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-13.3.5}
+VERSION=${VERSION:-13.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,6 +59,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -79,6 +82,9 @@ 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 {} \+
+# lower version requirements for pygments
+sed -i '/^pygments/ s/2\.13/2.10/' pyproject.toml
+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl