From e369a85bc0c977498a6535e91b8cd53b0bb60ccf Mon Sep 17 00:00:00 2001 From: Dugan Chen Date: Sun, 24 Jun 2018 07:57:33 +0700 Subject: python/python-evdev: Updated for version 1.0.0. Signed-off-by: Willy Sudiarto Raharjo --- python/python-evdev/README | 2 ++ python/python-evdev/python-evdev.SlackBuild | 6 +++++- python/python-evdev/python-evdev.info | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) (limited to 'python') diff --git a/python/python-evdev/README b/python/python-evdev/README index 280b1ebe67..5df3c5270f 100644 --- a/python/python-evdev/README +++ b/python/python-evdev/README @@ -1,3 +1,5 @@ python-evdev allows Python programs running in Linux to read and write input events. It provides bindings to both the generic input event interface (evdev) and the userspace input subsystem (Uinput). + +This will automatically build for Python 3 if it's available. diff --git a/python/python-evdev/python-evdev.SlackBuild b/python/python-evdev/python-evdev.SlackBuild index 4a71df841c..39f0176749 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 diff --git a/python/python-evdev/python-evdev.info b/python/python-evdev/python-evdev.info index ebd67919ad..333c6116d3 100644 --- a/python/python-evdev/python-evdev.info +++ b/python/python-evdev/python-evdev.info @@ -1,8 +1,8 @@ PRGNAM="python-evdev" -VERSION="0.5.0" +VERSION="1.0.0" HOMEPAGE="http://python-evdev.readthedocs.org/en/latest/" -DOWNLOAD="https://pypi.python.org/packages/source/e/evdev/evdev-0.5.0.tar.gz" -MD5SUM="03304ca01acc08a4ce07e1d739c4b59a" +DOWNLOAD="https://pypi.python.org/packages/source/e/evdev/evdev-1.0.0.tar.gz" +MD5SUM="1c9830c5a87ef5147cabfadfefc91a20" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3