diff options
Diffstat (limited to 'python/python3-kiwisolver/python3-kiwisolver.SlackBuild')
| -rw-r--r-- | python/python3-kiwisolver/python3-kiwisolver.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
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 <s.udrea@gsi.de> # Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> -# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com> +# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # 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 |
