summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:29 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:11 +0700
commitaf1d810148976406161da7da3b6fc6cb15e70f73 (patch)
tree63d327519891c311040179e1f490e8c8f20c4cde
parent8964ec71ece0c6d59f519df90f8b24405086dd74 (diff)
downloadslackbuilds-af1d810148976406161da7da3b6fc6cb15e70f73.tar.gz
slackbuilds-af1d810148976406161da7da3b6fc6cb15e70f73.tar.xz
python/buildbot-slave: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/buildbot-slave/buildbot-slave.SlackBuild2
-rw-r--r--python/buildbot-slave/buildbot-slave.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/buildbot-slave/buildbot-slave.SlackBuild b/python/buildbot-slave/buildbot-slave.SlackBuild
index a97590111d..60d9edbdc3 100644
--- a/python/buildbot-slave/buildbot-slave.SlackBuild
+++ b/python/buildbot-slave/buildbot-slave.SlackBuild
@@ -72,7 +72,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/buildbot-slave/buildbot-slave.info b/python/buildbot-slave/buildbot-slave.info
index 2e8ef811e4..469ebda78e 100644
--- a/python/buildbot-slave/buildbot-slave.info
+++ b/python/buildbot-slave/buildbot-slave.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/5a/3a/96a2d5d11d66dd7c70c74b6e82ef5cd
MD5SUM="a5bdda0174e0428b14580323d35b221f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-twisted"
+REQUIRES="python2-twisted"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"