aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-04-22 12:12:10 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-28 06:40:08 +0700
commit90b8c9600c9a6b307246e5de2efa9353a0c946ca (patch)
tree833b5c15de014d3d5adcb1118672161b2ab4c9ec
parent50193f8c96ca50ca1a0845ee8c1806538eefdf18 (diff)
python/python-xlib: Updated for version 0.23.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--python/python-xlib/python-xlib.SlackBuild8
-rw-r--r--python/python-xlib/python-xlib.info6
-rw-r--r--python/python-xlib/setup.patch.gzbin685 -> 841 bytes
3 files changed, 8 insertions, 6 deletions
diff --git a/python/python-xlib/python-xlib.SlackBuild b/python/python-xlib/python-xlib.SlackBuild
index 341666f5ee478..83295fe26144a 100644
--- a/python/python-xlib/python-xlib.SlackBuild
+++ b/python/python-xlib/python-xlib.SlackBuild
@@ -6,7 +6,7 @@
# Copyright 2018 Hunter Sezen California, USA
PRGNAM=python-xlib
-VERSION=${VERSION:-0.21}
+VERSION=${VERSION:-0.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -29,7 +29,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -39,9 +39,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Partially revert: fixup metadata
+# Revert: setup: check setuptools is recent enough to support `setup.cfg`
# 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 -R -p1
+zcat $CWD/setup.patch.gz | patch -p1
python setup.py install --root $PKG
diff --git a/python/python-xlib/python-xlib.info b/python/python-xlib/python-xlib.info
index cf7eec970b49a..2fd8ae8871fdd 100644
--- a/python/python-xlib/python-xlib.info
+++ b/python/python-xlib/python-xlib.info
@@ -1,8 +1,8 @@
PRGNAM="python-xlib"
-VERSION="0.21"
+VERSION="0.23"
HOMEPAGE="https://github.com/python-xlib/python-xlib"
-DOWNLOAD="https://github.com/python-xlib/python-xlib/releases/download/0.21/python-xlib-0.21.tar.bz2"
-MD5SUM="cdf342aa145c2be0ccae46cfb7b62551"
+DOWNLOAD="https://github.com/python-xlib/python-xlib/releases/download/0.23/python-xlib-0.23.tar.bz2"
+MD5SUM="793509fdc158543c2caa59f34bcac34d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="setuptools-scm six"
diff --git a/python/python-xlib/setup.patch.gz b/python/python-xlib/setup.patch.gz
index 8626ec1a797a1..ff614577967c3 100644
--- a/python/python-xlib/setup.patch.gz
+++ b/python/python-xlib/setup.patch.gz
Binary files differ