aboutsummaryrefslogtreecommitdiff
path: root/python/euca2ools/euca2ools.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:15:00 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:55 +0700
commitb7f4fd886344a36536f2e27bdd7b2cc86905a3af (patch)
tree02ed1e4e71c739ab3dc468223f60a1b19f67b734 /python/euca2ools/euca2ools.SlackBuild
parent1c29a36af3e82a43f9e943455f74e9f00d4ea9d6 (diff)
python/euca2ools: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/euca2ools/euca2ools.SlackBuild')
-rw-r--r--python/euca2ools/euca2ools.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/euca2ools/euca2ools.SlackBuild b/python/euca2ools/euca2ools.SlackBuild
index cbd99a886f6ad..2e90e872bd890 100644
--- a/python/euca2ools/euca2ools.SlackBuild
+++ b/python/euca2ools/euca2ools.SlackBuild
@@ -69,7 +69,7 @@ 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
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