diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-10-05 23:25:27 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-10-13 08:03:03 +0700 |
commit | f2f7f5cd3cfb3052c5285c8b8877f7a692eb6cc6 (patch) | |
tree | ab4a41942e1c150864da726029c8e6587b6958c5 /python/python-webencodings/python-webencodings.SlackBuild | |
parent | 850b4137e6327b88d72338f11658264c240b7f97 (diff) | |
download | slackbuilds-f2f7f5cd3cfb3052c5285c8b8877f7a692eb6cc6.tar.gz slackbuilds-f2f7f5cd3cfb3052c5285c8b8877f7a692eb6cc6.tar.xz |
python/python-webencodings: Add Python 3 support.
Diffstat (limited to 'python/python-webencodings/python-webencodings.SlackBuild')
-rw-r--r-- | python/python-webencodings/python-webencodings.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/python/python-webencodings/python-webencodings.SlackBuild b/python/python-webencodings/python-webencodings.SlackBuild index fe72b0f16b..a07d9cb7d8 100644 --- a/python/python-webencodings/python-webencodings.SlackBuild +++ b/python/python-webencodings/python-webencodings.SlackBuild @@ -2,7 +2,7 @@ # # SlackBuild for python-webencodings # -# Copyright 2017 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2017-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -23,7 +23,7 @@ PRGNAM=python-webencodings VERSION=${VERSION:-0.5.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -68,7 +68,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 +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 |