summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2022-02-09 09:56:44 +0100
committer Willy Sudiarto Raharjo2022-02-09 11:02:22 +0100
commit9dbff6d7e4c0a3427da0406b00f3e12f82c2bd6f (patch)
treeb1bce285b7ca22d514f3d1c04c950a4f5d35465c
parent2cefd4932ab3744476a27d82d0237414421a5c8a (diff)
downloadslackbuilds-9dbff6d7e4c0a3427da0406b00f3e12f82c2bd6f.tar.gz
python/PyPDF2: Build for python3 too.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/PyPDF2/PyPDF2.SlackBuild1
1 files changed, 1 insertions, 0 deletions
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