diff options
author | Dugan Chen <thedoogster [at] gmail [dot] com> | 2018-06-24 07:57:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-30 07:00:12 +0700 |
commit | e369a85bc0c977498a6535e91b8cd53b0bb60ccf (patch) | |
tree | 03c30bde1a4855333da25c02e84cec5a5280f419 /python/python-evdev/python-evdev.SlackBuild | |
parent | 4655298ccb41167702465f37e69a52dda9a09198 (diff) |
python/python-evdev: Updated for version 1.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-evdev/python-evdev.SlackBuild')
-rw-r--r-- | python/python-evdev/python-evdev.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/python-evdev/python-evdev.SlackBuild b/python/python-evdev/python-evdev.SlackBuild index 4a71df841c64..39f017674951 100644 --- a/python/python-evdev/python-evdev.SlackBuild +++ b/python/python-evdev/python-evdev.SlackBuild @@ -24,7 +24,7 @@ SRCNAM=evdev PRGNAM=python-$SRCNAM -VERSION=${VERSION:-0.5.0} +VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,6 +72,10 @@ find -L . \ python setup.py install --root=$PKG +if hash python3 ; 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 |