summaryrefslogtreecommitdiff
path: root/python/python-xlib/python-xlib.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-07-20 08:08:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-20 08:08:58 +0700
commit79180da6e21b8faf789b168586e830a0f196320b (patch)
tree10502f8a42d122b210a517dc09547469e67a0682 /python/python-xlib/python-xlib.SlackBuild
parent1fb9c141e9101b8f86aaee361f819c42059ca58a (diff)
downloadslackbuilds-79180da6e21b8faf789b168586e830a0f196320b.tar.gz
python/python-xlib: Updated for version 0.25.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-xlib/python-xlib.SlackBuild')
-rw-r--r--python/python-xlib/python-xlib.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/python-xlib/python-xlib.SlackBuild b/python/python-xlib/python-xlib.SlackBuild
index 83295fe261..0ea9263b3a 100644
--- a/python/python-xlib/python-xlib.SlackBuild
+++ b/python/python-xlib/python-xlib.SlackBuild
@@ -3,10 +3,10 @@
# Slackware build script for python-xlib
# Written by Vasilis Papavasileiou <el03020 at mail dot ntua dot gr>
-# Copyright 2018 Hunter Sezen California, USA
+# Copyright 2018-2019 Hunter Sezen California, USA
PRGNAM=python-xlib
-VERSION=${VERSION:-0.23}
+VERSION=${VERSION:-0.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +43,8 @@ find -L . \
# https://github.com/python-xlib/python-xlib/commit/22a8e1929ad58b8168bcf5d931e8f6067ebdec0a
# https://github.com/python-xlib/python-xlib/commit/376b4739cedc4eee32e60e7b158d20ed18dfddc1
# https://github.com/python-xlib/python-xlib/issues/106
-zcat $CWD/setup.patch.gz | patch -p1
+sed -i 's/\r$//g' setup.py
+patch -p1 < $CWD/setup.patch
python setup.py install --root $PKG