From 6d5ad6150b93746d631a2d0a133d18ab1f88d39d Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 4 Jan 2018 21:10:16 +0700 Subject: libraries/SlowAES: Add python3 support. Signed-off-by: Willy Sudiarto Raharjo --- libraries/SlowAES/SlowAES.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libraries/SlowAES/SlowAES.SlackBuild') diff --git a/libraries/SlowAES/SlowAES.SlackBuild b/libraries/SlowAES/SlowAES.SlackBuild index 4bf3baae56..3fc341db7a 100644 --- a/libraries/SlowAES/SlowAES.SlackBuild +++ b/libraries/SlowAES/SlowAES.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for SlowAES -# Copyright 2014-2016 Willy Sudiarto Raharjo +# Copyright 2014-2018 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -72,6 +72,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 -- cgit v1.2.3