aboutsummaryrefslogtreecommitdiff
path: root/python/python3-rich/python3-rich.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-rich/python3-rich.SlackBuild')
-rw-r--r--python/python3-rich/python3-rich.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/python/python3-rich/python3-rich.SlackBuild b/python/python3-rich/python3-rich.SlackBuild
index b62222503b..c712c68c46 100644
--- a/python/python3-rich/python3-rich.SlackBuild
+++ b/python/python3-rich/python3-rich.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-rich
-# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20230122 46and2: Updated version, changed build process and deps.
+# 20250822 46and2: reminder to remove typing-extensions dep at a later date.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-rich
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-13.9.4}
+VERSION=${VERSION:-14.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,11 +60,9 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find . ! -type l -a \
+ \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \
+ \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \)
# lower version requirements for pygments
sed -i '/^pygments/ s/2\.13/2.10/' pyproject.toml