diff options
Diffstat (limited to 'python/python-evdev/python-evdev.SlackBuild')
-rw-r--r-- | python/python-evdev/python-evdev.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
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 <thedoogster@gmail.com> -# Copyright 2020-2021 Isaac Yu <isaacyu1@isaacyu1.com> +# Copyright 2020-2022 Isaac Yu <isaacyu1@isaacyu1.com> # 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 |