summaryrefslogtreecommitdiff
path: root/python/astroid
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
parentf38fc2daa966366d78683dc66d88ecb768647442 (diff)
downloadslackbuilds-beed3d7fa58592a532415a2682727439c09ce3a9.tar.gz
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')
-rw-r--r--python/astroid/astroid.SlackBuild2
-rw-r--r--python/astroid/astroid.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/astroid/astroid.SlackBuild b/python/astroid/astroid.SlackBuild
index 5c3b2b6a7c..1b81edc07e 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
diff --git a/python/astroid/astroid.info b/python/astroid/astroid.info
index 4cc70ffd9f..075f6eb0b0 100644
--- a/python/astroid/astroid.info
+++ b/python/astroid/astroid.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/04/58/2dc2c7769c37eac4665870a8
MD5SUM="2dd01ef0d5b5f0fc754c1ba40137b61c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-lazy-object-proxy python-wrapt"
+REQUIRES="python2-lazy-object-proxy python2-wrapt"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"