libraries/plyr: Include python3 support by default

This commit is contained in:
Robby Workman 2021-04-21 00:06:02 -05:00
parent c253f4855b
commit a2caa0ab9f
2 changed files with 1 additions and 11 deletions

View file

@ -1,9 +1,3 @@
plyr (plyr, a Wrapper around libglyr)
plyr is a Wrapper around libglyr, using Cython.
To install python3 bindings run the slackbuild with PYTHON3=yes.
# PYTHON3=yes ./plyr.SlackBuild
NOTE: in this case please install: python3-Cython

View file

@ -73,11 +73,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG --optimize=1
# Install python3 bindings for plyr. Default is no.
if [ "${PYTHON3:-no}" == "yes" ]; then
python3 setup.py install --root=$PKG
fi
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