python-xlib: update to 0.27

This commit is contained in:
mustaqim 2020-04-14 20:53:33 +02:00 committed by Juan RP
parent 24b9858474
commit 3bf60f7b59

View file

@ -1,10 +1,9 @@
# Template file for 'python-xlib'
pkgname=python-xlib
version=0.25
revision=2
version=0.27
revision=1
archs=noarch
build_style=python-module
pycompile_module="Xlib"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-six"
short_desc="Fully functional X client library for Python2"
@ -12,7 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/python-xlib/python-xlib"
distfiles="${homepage}/releases/download/${version}/python-xlib-${version}.tar.bz2"
checksum=204f280b549352af6cbdaff43405186822ae05749518dd9be209bd88a0088f99
checksum=a90667c70905c6ef0754c8a09fa61acbc1e1b7ddb946d527831800d7cbfe9348
pre_build() {
sed -i '/setup_requires/d' setup.py
@ -21,7 +20,6 @@ pre_build() {
python3-xlib_package() {
archs=noarch
depends="python3-six"
pycompile_module="Xlib"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*