From 1ae687df69c900debb0b9b8f3a5dcc29417a0556 Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Thu, 5 Sep 2024 17:39:20 -0700 Subject: python/python3-kiwisolver: Version bump to 1.4.7 Signed-off-by: Willy Sudiarto Raharjo --- python/python3-kiwisolver/python3-kiwisolver.SlackBuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'python/python3-kiwisolver/python3-kiwisolver.SlackBuild') diff --git a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild index 53c78d794e..48245ab098 100644 --- a/python/python3-kiwisolver/python3-kiwisolver.SlackBuild +++ b/python/python3-kiwisolver/python3-kiwisolver.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2018 Serban Udrea # Copyright 2022-2023 Isaac Yu -# Copyright 2023 Jeremy Hansen +# Copyright 2023-2024 Jeremy Hansen # All rights reserved. # # Redistribution and use of this script, with or without modification, @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-kiwisolver -SRCNAM=kiwisolver -VERSION=${VERSION:-1.4.5} +SRCNAM=kiwi +VERSION=${VERSION:-1.4.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,6 +71,8 @@ find -L . \ PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages +export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl @@ -78,7 +80,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE PKG-INFO README.rst releasenotes.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.rst releasenotes.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3