29 lines
797 B
Bash
29 lines
797 B
Bash
# Template file for 'python-xlib'
|
|
pkgname=python-xlib
|
|
version=0.25
|
|
revision=2
|
|
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"
|
|
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
|
|
|
|
pre_build() {
|
|
sed -i '/setup_requires/d' setup.py
|
|
}
|
|
|
|
python3-xlib_package() {
|
|
archs=noarch
|
|
depends="python3-six"
|
|
pycompile_module="Xlib"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|