aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-03-30 07:59:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-03-30 07:59:34 +0700
commit36f5d436c132042aa224240fee300447b2b51038 (patch)
treedaec61ca241c845cb0b76dce2b271e865166af4d /python
parentfacb5b6b0dc0014ef20568ddbb2fa7278264b154 (diff)
python/python3-flit_core: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-flit_core/python3-flit_core.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python3-flit_core/python3-flit_core.SlackBuild b/python/python3-flit_core/python3-flit_core.SlackBuild
index d1bb01f2ba..1d016f391e 100644
--- a/python/python3-flit_core/python3-flit_core.SlackBuild
+++ b/python/python3-flit_core/python3-flit_core.SlackBuild
@@ -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