diff options
Diffstat (limited to 'python/python-xlib/python-xlib.SlackBuild')
-rw-r--r-- | python/python-xlib/python-xlib.SlackBuild | 8 |
1 files changed, 5 insertions, 3 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 |