summaryrefslogtreecommitdiff
path: root/python/python-xlib
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
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')
-rw-r--r--python/python-xlib/python-xlib.SlackBuild7
-rw-r--r--python/python-xlib/python-xlib.info6
2 files changed, 7 insertions, 6 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
diff --git a/python/python-xlib/python-xlib.info b/python/python-xlib/python-xlib.info
index a541ceb48f..b366fbae06 100644
--- a/python/python-xlib/python-xlib.info
+++ b/python/python-xlib/python-xlib.info
@@ -1,8 +1,8 @@
PRGNAM="python-xlib"
-VERSION="0.23"
+VERSION="0.25"
HOMEPAGE="https://github.com/python-xlib/python-xlib"
-DOWNLOAD="https://github.com/python-xlib/python-xlib/releases/download/0.23/python-xlib-0.23.tar.bz2"
-MD5SUM="793509fdc158543c2caa59f34bcac34d"
+DOWNLOAD="https://github.com/python-xlib/python-xlib/releases/download/0.25/python-xlib-0.25.tar.bz2"
+MD5SUM="ded820dc8e943106bd660801ed7a82f7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="setuptools-scm six"