python/python-xlib: Updated for version 0.23.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2018-04-22 12:12:10 +01:00 committed by Willy Sudiarto Raharjo
parent 50193f8c96
commit 90b8c9600c
3 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -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"

Binary file not shown.