diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-06-03 09:07:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-06-09 05:31:19 +0700 |
commit | e4d7f1e0db82e71cae70434b3669d5c0f24e7a0a (patch) | |
tree | d06f9237b87a5b5fde087ade834202feacd1054b /python/pyserial | |
parent | 91a976131a1bc6279c938670afb74502cb156792 (diff) | |
download | slackbuilds-e4d7f1e0db82e71cae70434b3669d5c0f24e7a0a.tar.gz |
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.SlackBuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/pyserial/pyserial.SlackBuild b/python/pyserial/pyserial.SlackBuild index 84149096f3..e2d01887c2 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 |