aboutsummaryrefslogtreecommitdiff
path: root/python/python-xlib/python-xlib.SlackBuild
diff options
context:
space:
mode:
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 83295fe26144a..0ea9263b3a5fe 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