aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-04-21 00:06:02 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-04-21 00:06:02 -0500
commita2caa0ab9f12f99484ca060996d1be957b453fbb (patch)
tree3a2d858da4de85658bd8558ca8bf7865a966f980
parentc253f4855b6d8cbae6ca2c9a6828310adecbeca4 (diff)
downloadslackbuilds-a2caa0ab9f12f99484ca060996d1be957b453fbb.tar.xz
libraries/plyr: Include python3 support by default
-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 3262423b3034..2b7cd92b6d4b 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 32bcb828b4e1..20e996396083 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