mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/plyr: Include python3 support by default
This commit is contained in:
parent
c253f4855b
commit
a2caa0ab9f
2 changed files with 1 additions and 11 deletions
|
@ -1,9 +1,3 @@
|
||||||
plyr (plyr, a Wrapper around libglyr)
|
plyr (plyr, a Wrapper around libglyr)
|
||||||
|
|
||||||
plyr is a Wrapper around libglyr, using Cython.
|
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
|
|
||||||
|
|
|
@ -73,11 +73,7 @@ find -L . \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
python setup.py install --root=$PKG --optimize=1
|
python setup.py install --root=$PKG --optimize=1
|
||||||
|
python3 setup.py install --root=$PKG
|
||||||
# Install python3 bindings for plyr. Default is no.
|
|
||||||
if [ "${PYTHON3:-no}" == "yes" ]; then
|
|
||||||
python3 setup.py install --root=$PKG
|
|
||||||
fi
|
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
Loading…
Reference in a new issue