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