aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2018-06-24 07:57:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-06-30 07:00:12 +0700
commite369a85bc0c977498a6535e91b8cd53b0bb60ccf (patch)
tree03c30bde1a4855333da25c02e84cec5a5280f419
parent4655298ccb41167702465f37e69a52dda9a09198 (diff)
python/python-evdev: Updated for version 1.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-evdev/README2
-rw-r--r--python/python-evdev/python-evdev.SlackBuild6
-rw-r--r--python/python-evdev/python-evdev.info6
3 files changed, 10 insertions, 4 deletions
diff --git a/python/python-evdev/README b/python/python-evdev/README
index 280b1ebe67488..5df3c5270fdcf 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 4a71df841c640..39f017674951a 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 ebd67919adbde..333c6116d32b8 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=""