From c53084a35a9966f44a083646ab970d7b19cc3ace Mon Sep 17 00:00:00 2001 From: Isaac Yu Date: Thu, 24 Mar 2022 00:19:36 -0700 Subject: python/python-evdev: Update for 1.5.0 Signed-off-by: Willy Sudiarto Raharjo --- python/python-evdev/python-evdev.SlackBuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'python/python-evdev/python-evdev.SlackBuild') diff --git a/python/python-evdev/python-evdev.SlackBuild b/python/python-evdev/python-evdev.SlackBuild index 79cd6294f3..89699b5ac3 100644 --- a/python/python-evdev/python-evdev.SlackBuild +++ b/python/python-evdev/python-evdev.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for python-evdev # Copyright 2015 Dugan Chen, Canada -# Copyright 2020-2021 Isaac Yu +# Copyright 2020-2022 Isaac Yu # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-evdev -VERSION=${VERSION:-1.4.0} +VERSION=${VERSION:-1.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,10 +86,7 @@ find -L . \ find -L . -perm 660 -exec chmod 644 {} \; python setup.py install --root=$PKG - -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python3 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 -- cgit v1.2.3