From 3a68f9ebd4a126e344255e922a005c80deeec105 Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Sun, 31 Mar 2024 10:05:24 -0600 Subject: python/python3-twisted: Fix build on current. Signed-off-by: Willy Sudiarto Raharjo --- python/python3-twisted/python3-twisted.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/python3-twisted/python3-twisted.SlackBuild') 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 -- cgit v1.2.3