diff options
Diffstat (limited to 'python/python3-rich/python3-rich.SlackBuild')
-rw-r--r-- | python/python3-rich/python3-rich.SlackBuild | 8 |
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 |