python/PyPDF2: Build for python3 too.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-02-09 21:56:44 +13:00 committed by Willy Sudiarto Raharjo
parent 2cefd4932a
commit 9dbff6d7e4
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 1 additions and 0 deletions

View File

@ -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