python/python3-flit_core: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
facb5b6b0d
commit
36f5d436c1
|
@ -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
|
# installing tests to a subdir of your project might not conflict the toplevel, but
|
||||||
# don't do it anyway...
|
# 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 \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
Loading…
Reference in New Issue