diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-21 21:32:15 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-06-02 01:02:25 +0700 |
commit | d5af3af6d76d2713d62a514ba9a4a8a44b54833b (patch) | |
tree | 2bc2f8ddd2cd8c30653c7bf240b7b8d1c16fee4f /python/kaptan | |
parent | 6bf6f63f4353dfe9bd7a78bab0e04a82a5c95907 (diff) |
python/kaptan: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/kaptan')
-rw-r--r-- | python/kaptan/kaptan.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/python/kaptan/kaptan.SlackBuild b/python/kaptan/kaptan.SlackBuild index bee5dcc5bbfbd..0255e4e2405f1 100644 --- a/python/kaptan/kaptan.SlackBuild +++ b/python/kaptan/kaptan.SlackBuild @@ -69,11 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG - -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 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 |