From f84fd2bdc2f3ab79f7dd609f41a2c57dd761b804 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 12 Dec 2019 15:42:24 +0100 Subject: desktop/py3status: Updated for version 3.22. Signed-off-by: Dimitris Zlatanidis --- desktop/py3status/py3status.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'desktop/py3status/py3status.SlackBuild') diff --git a/desktop/py3status/py3status.SlackBuild b/desktop/py3status/py3status.SlackBuild index b3ca35b237..eb2b310e72 100644 --- a/desktop/py3status/py3status.SlackBuild +++ b/desktop/py3status/py3status.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=py3status -VERSION=${VERSION:-3.19} +VERSION=${VERSION:-3.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,6 +71,11 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + 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 -- cgit v1.2.3