25 lines
721 B
Bash
25 lines
721 B
Bash
# Template file for 'python-xlib'
|
|
pkgname=python-xlib
|
|
version=0.27
|
|
revision=3
|
|
build_style=python-module
|
|
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=a90667c70905c6ef0754c8a09fa61acbc1e1b7ddb946d527831800d7cbfe9348
|
|
|
|
pre_build() {
|
|
sed -i '/setup_requires/d' setup.py
|
|
}
|
|
|
|
python3-xlib_package() {
|
|
depends="python3-six"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|