summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2018-09-02 00:59:03 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-08 08:37:38 +0700
commit8d08ee6e1986f769413b667fe237bd8b10724eff (patch)
treeb9d724ddd2fffcc37c7ae64d8e4d1fb6e80c60ff /python
parentdcd937fd24c909af505f8c8975cc31d245bdedc9 (diff)
downloadslackbuilds-8d08ee6e1986f769413b667fe237bd8b10724eff.tar.gz
python/python-evdev: Updated for version 1.1.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-evdev/python-evdev.SlackBuild8
-rw-r--r--python/python-evdev/python-evdev.info6
2 files changed, 7 insertions, 7 deletions
diff --git a/python/python-evdev/python-evdev.SlackBuild b/python/python-evdev/python-evdev.SlackBuild
index a4081dfcbe..9b567b0a41 100644
--- a/python/python-evdev/python-evdev.SlackBuild
+++ b/python/python-evdev/python-evdev.SlackBuild
@@ -22,9 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+PRGNAM=python-evdev
SRCNAM=evdev
-PRGNAM=python-$SRCNAM
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
@@ -75,7 +75,7 @@ find -L . -perm 660 -exec chmod 644 {} \;
python setup.py install --root=$PKG
-if hash python3 ; then
+if $(python3 -c 'import sys' 2>/dev/null); then
python3 setup.py install --root=$PKG
fi
diff --git a/python/python-evdev/python-evdev.info b/python/python-evdev/python-evdev.info
index 333c6116d3..86f519074a 100644
--- a/python/python-evdev/python-evdev.info
+++ b/python/python-evdev/python-evdev.info
@@ -1,8 +1,8 @@
PRGNAM="python-evdev"
-VERSION="1.0.0"
+VERSION="1.1.2"
HOMEPAGE="http://python-evdev.readthedocs.org/en/latest/"
-DOWNLOAD="https://pypi.python.org/packages/source/e/evdev/evdev-1.0.0.tar.gz"
-MD5SUM="1c9830c5a87ef5147cabfadfefc91a20"
+DOWNLOAD="https://pypi.python.org/packages/source/e/evdev/evdev-1.1.2.tar.gz"
+MD5SUM="504de457af50c3847c1994a7306eb776"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""