From 7eabd7dcee25ce0a6efeeaf6e08c89e54a8d07c2 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Thu, 6 May 2021 18:15:02 +0100 Subject: [PATCH] python/git-fame: Fix REQUIRES for python2. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- python/git-fame/git-fame.SlackBuild | 2 +- python/git-fame/git-fame.info | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/git-fame/git-fame.SlackBuild b/python/git-fame/git-fame.SlackBuild index a2f581d09a..e47b27e62f 100644 --- a/python/git-fame/git-fame.SlackBuild +++ b/python/git-fame/git-fame.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/git-fame/git-fame.info b/python/git-fame/git-fame.info index 4e1a793dfe..d2e6ea173d 100644 --- a/python/git-fame/git-fame.info +++ b/python/git-fame/git-fame.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/00/b6/4eb0f863ecdd62e8a1544f5c MD5SUM="5d4c8e0131022be52966aa25ffb48538" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-argopt docopt tqdm python-tabulate" +REQUIRES="python-argopt docopt tqdm python2-tabulate" MAINTAINER="Andrew Clemons" EMAIL="andrew.clemons@gmail.com"