diff options
author | Brenton Earl <brent@exitstatusone.com> | 2017-01-14 06:01:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-14 06:01:44 +0700 |
commit | abb7ef7b412229767a3f20b5556c832a004a5eba (patch) | |
tree | 5787f4617f1e80e0befab0c785d1fbd43ed53ec0 /python/passlib | |
parent | 2884e1333ebe6bfe4f4623a2cce74f887f0632a4 (diff) | |
download | slackbuilds-abb7ef7b412229767a3f20b5556c832a004a5eba.tar.gz |
python/passlib: Add python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/passlib')
-rw-r--r-- | python/passlib/passlib.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/passlib/passlib.SlackBuild b/python/passlib/passlib.SlackBuild index 635a64f4bc..54b24ce5a7 100644 --- a/python/passlib/passlib.SlackBuild +++ b/python/passlib/passlib.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for passlib -# Copyright 2015-2016 Brenton Earl <brent@exitstatusone.com> +# Copyright 2015-2017 Brenton Earl <brent@exitstatusone.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -71,6 +71,11 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + 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 |