python/python-evdev: Updated for version 1.0.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dugan Chen 2018-06-24 07:57:33 +07:00 committed by Willy Sudiarto Raharjo
parent 4655298ccb
commit e369a85bc0
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 10 additions and 4 deletions

View File

@ -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.

View File

@ -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

View File

@ -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=""