summaryrefslogtreecommitdiff
path: root/python/euca2ools
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
parent1c29a36af3e82a43f9e943455f74e9f00d4ea9d6 (diff)
downloadslackbuilds-b7f4fd886344a36536f2e27bdd7b2cc86905a3af.tar.gz
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')
-rw-r--r--python/euca2ools/README5
-rw-r--r--python/euca2ools/euca2ools.SlackBuild2
-rw-r--r--python/euca2ools/euca2ools.info2
3 files changed, 5 insertions, 4 deletions
diff --git a/python/euca2ools/README b/python/euca2ools/README
index 93a1dd6481..a776c6b56e 100644
--- a/python/euca2ools/README
+++ b/python/euca2ools/README
@@ -1,2 +1,3 @@
-Euca2ools are command line tools for interacting with Amazon Web Services (AWS)
-and other AWS-compatible web services, such as Eucalyptus and OpenStack.
+Euca2ools are command line tools for interacting with Amazon Web
+Services (AWS) and other AWS-compatible web services, such as Eucalyptus
+and OpenStack.
diff --git a/python/euca2ools/euca2ools.SlackBuild b/python/euca2ools/euca2ools.SlackBuild
index cbd99a886f..2e90e872bd 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
diff --git a/python/euca2ools/euca2ools.info b/python/euca2ools/euca2ools.info
index 2f896c6aba..6afd07142e 100644
--- a/python/euca2ools/euca2ools.info
+++ b/python/euca2ools/euca2ools.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/eucalyptus/euca2ools/archive/v3.4.1/euca2ools-3.4.1
MD5SUM="0304efa7609d18d9816baeb56eb8012b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-requestbuilder lxml"
+REQUIRES="python2-requestbuilder lxml"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"