aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/plyr/README6
-rw-r--r--libraries/plyr/plyr.SlackBuild6
2 files changed, 1 insertions, 11 deletions
diff --git a/libraries/plyr/README b/libraries/plyr/README
index 3262423b30..2b7cd92b6d 100644
--- a/libraries/plyr/README
+++ b/libraries/plyr/README
@@ -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
diff --git a/libraries/plyr/plyr.SlackBuild b/libraries/plyr/plyr.SlackBuild
index 32bcb828b4..20e9963960 100644
--- a/libraries/plyr/plyr.SlackBuild
+++ b/libraries/plyr/plyr.SlackBuild
@@ -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