summaryrefslogtreecommitdiffstats
path: root/python/python-evdev
diff options
context:
space:
mode:
author Isaac Yu2022-03-24 08:19:36 +0100
committer Willy Sudiarto Raharjo2022-04-02 13:18:53 +0200
commitc53084a35a9966f44a083646ab970d7b19cc3ace (patch)
tree041b7e36d4c2e675b9f3b3d451848d342b775400 /python/python-evdev
parent7d137939a13e81dd31bb234e7dadc964eaef07b7 (diff)
downloadslackbuilds-c53084a35a9966f44a083646ab970d7b19cc3ace.tar.gz
python/python-evdev: Update for 1.5.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-evdev')
-rw-r--r--python/python-evdev/python-evdev.SlackBuild9
-rw-r--r--python/python-evdev/python-evdev.info6
2 files changed, 6 insertions, 9 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
diff --git a/python/python-evdev/python-evdev.info b/python/python-evdev/python-evdev.info
index 6cf2cdd456..183d8a469b 100644
--- a/python/python-evdev/python-evdev.info
+++ b/python/python-evdev/python-evdev.info
@@ -1,8 +1,8 @@
PRGNAM="python-evdev"
-VERSION="1.4.0"
+VERSION="1.5.0"
HOMEPAGE="http://python-evdev.readthedocs.org/en/latest/"
-DOWNLOAD="https://files.pythonhosted.org/packages/4d/ec/bb298d36ed67abd94293253e3e52bdf16732153b887bf08b8d6f269eacef/evdev-1.4.0.tar.gz"
-MD5SUM="919c1107b576771cfb0c43e2a8a4a405"
+DOWNLOAD="https://files.pythonhosted.org/packages/47/f0/650d83c84386d4a79e91e5c826f4ea10315c0708ea784e79c1b67e18bf26/evdev-1.5.0.tar.gz"
+MD5SUM="3fc7c0d0fcd3382fdd3a1a52f1017023"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""