aboutsummaryrefslogtreecommitdiff
path: root/python/python3-incremental/python3-incremental.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2025-02-19 00:47:05 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-02-22 10:01:35 +0700
commit13f0a321171f55e298ca63d21118bdc5789b1717 (patch)
treeae79852582d5451cec1447a29e3891ad4f4cee40 /python/python3-incremental/python3-incremental.SlackBuild
parente2a508139ab38bddb9a45938e04d4f5ee5c63e42 (diff)
python/python3-incremental: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-incremental/python3-incremental.SlackBuild')
-rw-r--r--python/python3-incremental/python3-incremental.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/python3-incremental/python3-incremental.SlackBuild b/python/python3-incremental/python3-incremental.SlackBuild
index 0654419202..ddb79d03b7 100644
--- a/python/python3-incremental/python3-incremental.SlackBuild
+++ b/python/python3-incremental/python3-incremental.SlackBuild
@@ -70,9 +70,7 @@ python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
# Prevent incremental from messing up Slackware setuptools
-FIX=$PKG/usr/lib*/python$PYVER/site-packages/incremental-24.7.2.dist-info/entry_points.txt
-head -6 $FIX > fix
-cat fix > $FIX
+sed -i '/\[setuptools.fin/,/^incremental /d' $PKG/usr/lib*/python$PYVER/site-packages/incremental-$VERSION.dist-info/entry_points.txt
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true