summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2022-02-09 21:56:44 +1300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 17:02:22 +0700
commit9dbff6d7e4c0a3427da0406b00f3e12f82c2bd6f (patch)
treeb1bce285b7ca22d514f3d1c04c950a4f5d35465c /python
parent2cefd4932ab3744476a27d82d0237414421a5c8a (diff)
downloadslackbuilds-9dbff6d7e4c0a3427da0406b00f3e12f82c2bd6f.tar.gz
slackbuilds-9dbff6d7e4c0a3427da0406b00f3e12f82c2bd6f.tar.xz
python/PyPDF2: Build for python3 too.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-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