python/python3-flit_core: Fix build on current.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-03-30 07:59:34 +07:00
parent facb5b6b0d
commit 36f5d436c1
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ python3 bootstrap_install.py --install-root "$PKG" dist/*.whl
# installing tests to a subdir of your project might not conflict the toplevel, but
# don't do it anyway...
rm -r "$PKG"/usr/lib${LIBDIRSUFFIX}/python*/site-packages/${SRCNAM}/tests/
rm -r "$PKG"/usr/lib*/python*/site-packages/${SRCNAM}/tests/
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