python/python3-twisted: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
070581f7b3
commit
3a68f9ebd4
|
@ -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
|
||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/t/twisted/twisted-24.3.0.tar.g
|
|||
MD5SUM="85d7a8d1552151cfd9e42417ab2ff875"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3-automat python3-constantly python3-hyperlink python3-incremental zope.interface python3-service-identity typing-extensions"
|
||||
REQUIRES="python3-automat python3-constantly python3-hyperlink python3-incremental zope.interface python3-service-identity"
|
||||
MAINTAINER="Yth - Arnaud"
|
||||
EMAIL="yth@ythogtha.org"
|
||||
|
|
Loading…
Reference in New Issue