aboutsummaryrefslogtreecommitdiff
path: root/python/python3-kiwisolver/python3-kiwisolver.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2024-09-05 17:39:20 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-06 09:41:52 +0700
commit1ae687df69c900debb0b9b8f3a5dcc29417a0556 (patch)
tree10904bc79d52980738b4f47420e09b76718cb2fe /python/python3-kiwisolver/python3-kiwisolver.SlackBuild
parent89e704a71bd400d86b4ec95b20d20046fd4fad8b (diff)
python/python3-kiwisolver: Version bump to 1.4.7
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-kiwisolver/python3-kiwisolver.SlackBuild')
-rw-r--r--python/python3-kiwisolver/python3-kiwisolver.SlackBuild12
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