diff options
author | Arn0 <yth@ythogtha.org> | 2025-02-14 22:18:39 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-02-15 16:48:49 +0700 |
commit | 7131d5cb5155faefebf3c1d899292dd73b448297 (patch) | |
tree | 9828c7872bff74ba9f0c622ca559bf2a66ba17eb /python/python3-incremental/python3-incremental.SlackBuild | |
parent | d9bda515d2b489fa945172813e7d4bddf2e42068 (diff) |
python/python3-incremental: Updated for version 24.7.2.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
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.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/python3-incremental/python3-incremental.SlackBuild b/python/python3-incremental/python3-incremental.SlackBuild index b3bceb9c27..0654419202 100644 --- a/python/python3-incremental/python3-incremental.SlackBuild +++ b/python/python3-incremental/python3-incremental.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-incremental SRCNAM=${PRGNAM#python3-*} VERSION=${VERSION:-24.7.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,6 +69,11 @@ export PYTHONPATH=/opt/python$PYVER/site-packages 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 + 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 |