diff options
author | Markus Rinne <markus.ka.rinne@gmail.com> | 2020-01-14 21:45:12 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-16 22:39:51 +0700 |
commit | 35c7d153711c4b09512ca1732c36ef99b38676a9 (patch) | |
tree | 8ea9904638208faa723347d00acc617a322847c7 /python/pycryptodome | |
parent | ed1ddddacc6667e614b8ef39f661a4ad040a9dc3 (diff) |
python/pycryptodome: Add Python 3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pycryptodome')
-rw-r--r-- | python/pycryptodome/pycryptodome.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/pycryptodome/pycryptodome.SlackBuild b/python/pycryptodome/pycryptodome.SlackBuild index 5763eff12f4ba..e17c555504ec0 100644 --- a/python/pycryptodome/pycryptodome.SlackBuild +++ b/python/pycryptodome/pycryptodome.SlackBuild @@ -71,6 +71,10 @@ find -L . \ python setup.py install --root=$PKG +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 |