diff options
author | David Spencer <baildon.research@googlemail.com> | 2022-10-22 02:39:22 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-10-29 10:28:33 +0700 |
commit | 9e31988d100aaf1b83815420744a16e56f9dd381 (patch) | |
tree | 07b2ff1c7d7db232165f36fc4a7cd146e18a00e8 /python/python-m2r/python-m2r.SlackBuild | |
parent | 4c4b1351c053a0774ee14896ec8e4b4e18138509 (diff) |
python/python-m2r: Update REQUIRES.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-m2r/python-m2r.SlackBuild')
-rw-r--r-- | python/python-m2r/python-m2r.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/python/python-m2r/python-m2r.SlackBuild b/python/python-m2r/python-m2r.SlackBuild index 768be7b7322d0..1cd9482d0fdf3 100644 --- a/python/python-m2r/python-m2r.SlackBuild +++ b/python/python-m2r/python-m2r.SlackBuild @@ -82,11 +82,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG - -if $(python3 -c 'import sys' 2>/dev/null); then - rm -rf build - python3 setup.py install --root=$PKG -fi +rm -rf build +python3 setup.py install --root=$PKG 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 |