From 9dbff6d7e4c0a3427da0406b00f3e12f82c2bd6f Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Wed, 9 Feb 2022 21:56:44 +1300 Subject: [PATCH] python/PyPDF2: Build for python3 too. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- python/PyPDF2/PyPDF2.SlackBuild | 1 + 1 file changed, 1 insertion(+) diff --git a/python/PyPDF2/PyPDF2.SlackBuild b/python/PyPDF2/PyPDF2.SlackBuild index 07c3fc4762..50ecac0f2e 100644 --- a/python/PyPDF2/PyPDF2.SlackBuild +++ b/python/PyPDF2/PyPDF2.SlackBuild @@ -84,6 +84,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG +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