aboutsummaryrefslogtreecommitdiff
path: root/python/pyserial
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-03 09:07:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-09 05:31:19 +0700
commite4d7f1e0db82e71cae70434b3669d5c0f24e7a0a (patch)
treed06f9237b87a5b5fde087ade834202feacd1054b /python/pyserial
parent91a976131a1bc6279c938670afb74502cb156792 (diff)
python/pyserial: Added python3 support by default.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pyserial')
-rw-r--r--python/pyserial/pyserial.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/pyserial/pyserial.SlackBuild b/python/pyserial/pyserial.SlackBuild
index 84149096f3f21..e2d01887c2795 100644
--- a/python/pyserial/pyserial.SlackBuild
+++ b/python/pyserial/pyserial.SlackBuild
@@ -72,6 +72,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