summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:37 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:15 +0700
commit65f3fa2c7c090f019c0c964dc3b2386809a967bf (patch)
tree5a1aa6f0bc86efa1e07ea9b54f48cbc0e0fcf05c
parentd7ce8fa7f75458fa6230e695637f0dfd9cec22c3 (diff)
downloadslackbuilds-65f3fa2c7c090f019c0c964dc3b2386809a967bf.tar.gz
python/guessit: 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/guessit/guessit.SlackBuild2
-rw-r--r--python/guessit/guessit.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/guessit/guessit.SlackBuild b/python/guessit/guessit.SlackBuild
index b7fcca0942..f07d49e875 100644
--- a/python/guessit/guessit.SlackBuild
+++ b/python/guessit/guessit.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/guessit/guessit.info b/python/guessit/guessit.info
index db26542797..497168d8ed 100644
--- a/python/guessit/guessit.info
+++ b/python/guessit/guessit.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/96/e7/18c5bb92f677a68bec85f926a15ddb6
MD5SUM="2fc60912f7a12ca9573e265de23556d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="babelfish rebulk python-dateutil"
+REQUIRES="babelfish rebulk python2-dateutil"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"