From 91d2ca69b65be8e00a2c6893c70c45937f629738 Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Mon, 4 Sep 2023 05:18:13 -0600 Subject: python/python3-rich: Updated for version 13.5.2. Signed-off-by: Willy Sudiarto Raharjo --- python/python3-rich/python3-rich.SlackBuild | 8 +++++++- python/python3-rich/python3-rich.info | 6 +++--- 2 files changed, 10 insertions(+), 4 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 diff --git a/python/python3-rich/python3-rich.info b/python/python3-rich/python3-rich.info index b3404e9cd5..47c53135b8 100644 --- a/python/python3-rich/python3-rich.info +++ b/python/python3-rich/python3-rich.info @@ -1,8 +1,8 @@ PRGNAM="python3-rich" -VERSION="13.3.5" +VERSION="13.5.2" HOMEPAGE="https://github.com/Textualize/rich" -DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rich/rich-13.3.5.tar.gz" -MD5SUM="8943de826cb552dd5e84a46c6c416c89" +DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rich/rich-13.5.2.tar.gz" +MD5SUM="08ac7c52966450e9b67cb5313244ccb3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-poetry-core python3-markdown-it-py" -- cgit v1.2.3-65-gdbad