aboutsummaryrefslogtreecommitdiff
path: root/python/astroid/astroid.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:14:55 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:54 +0700
commitbeed3d7fa58592a532415a2682727439c09ce3a9 (patch)
tree6c699fd977c5ec21636f5b08a890df3746eec825 /python/astroid/astroid.SlackBuild
parentf38fc2daa966366d78683dc66d88ecb768647442 (diff)
python/astroid: 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/astroid/astroid.SlackBuild')
-rw-r--r--python/astroid/astroid.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/astroid/astroid.SlackBuild b/python/astroid/astroid.SlackBuild
index 5c3b2b6a7cc65..1b81edc07e172 100644
--- a/python/astroid/astroid.SlackBuild
+++ b/python/astroid/astroid.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