aboutsummaryrefslogtreecommitdiff
path: root/python/vobject
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:56 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:25 +0700
commitee4bcd0fcf628d609b2878904eecf22bfa62eb1d (patch)
treea012f67e8f3e268003c98987b5c47fdce8b7c366 /python/vobject
parentee67fbaaee6b6a6c158a5fa729eea5a75879a002 (diff)
python/vobject: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/vobject')
-rw-r--r--python/vobject/vobject.SlackBuild2
-rw-r--r--python/vobject/vobject.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/vobject/vobject.SlackBuild b/python/vobject/vobject.SlackBuild
index da7adffc4dc64..82e428dcdfe70 100644
--- a/python/vobject/vobject.SlackBuild
+++ b/python/vobject/vobject.SlackBuild
@@ -55,7 +55,7 @@ find -L . \
\( -perm 666 -o -perm 664 -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 | xargs 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/vobject/vobject.info b/python/vobject/vobject.info
index 56c06ae004f70..fe6726607a7de 100644
--- a/python/vobject/vobject.info
+++ b/python/vobject/vobject.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/eventable/vobject/archive/0.9.3/vobject-0.9.3.tar.g
MD5SUM="a67617a7eeb8d383df1ca84bd8dc3585"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-dateutil"
+REQUIRES="python2-dateutil"
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"