aboutsummaryrefslogtreecommitdiff
path: root/python/python3-twisted/python3-twisted.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-03-31 10:05:24 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-05 15:18:08 +0700
commit3a68f9ebd4a126e344255e922a005c80deeec105 (patch)
tree5444dece324bd6ffa2c4f90003cc463d0ff078d0 /python/python3-twisted/python3-twisted.SlackBuild
parent070581f7b34ddbe40117a61f5522d3edadb7cde6 (diff)
python/python3-twisted: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-twisted/python3-twisted.SlackBuild')
-rw-r--r--python/python3-twisted/python3-twisted.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python3-twisted/python3-twisted.SlackBuild b/python/python3-twisted/python3-twisted.SlackBuild
index a0b612d47c..ae16aff15b 100644
--- a/python/python3-twisted/python3-twisted.SlackBuild
+++ b/python/python3-twisted/python3-twisted.SlackBuild
@@ -90,7 +90,7 @@ python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
# Fix initialization bug with zope.interface 6+
-sed -i 's#zope-interface#zope.interface#' "$PKG/usr/lib${LIBDIRSUFFIX}/python3.9/site-packages/twisted-${VERSION}.dist-info/METADATA"
+sed -i 's#zope-interface#zope.interface#' $PKG/usr/lib*/python*/site-packages/twisted-${VERSION}.dist-info/METADATA
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