python-xlib: fix depends and short_desc, cleanup
This commit is contained in:
@@ -1,24 +1,27 @@
|
|||||||
# Template file for 'python-xlib'
|
# Template file for 'python-xlib'
|
||||||
pkgname=python-xlib
|
pkgname=python-xlib
|
||||||
version=0.19
|
version=0.19
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python-six"
|
||||||
pycompile_module="Xlib"
|
pycompile_module="Xlib"
|
||||||
short_desc="XLib in pure Python (Py2/Py3 compatible)"
|
short_desc="Fully functional X client library for Python2"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
homepage="https://github.com/python-xlib/python-xlib"
|
homepage="https://github.com/python-xlib/python-xlib"
|
||||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
distfiles="${homepage}/releases/download/${version}/python-xlib-${version}.tar.bz2"
|
||||||
checksum=39302be45204d36fb0b289c87cdabf2d6d40e50673199cb72f4b1ded6703c5c7
|
checksum=10ba17a7b2aea9f6a7fb0b87caa284383389cf867ba9d31619246577b8cc3408
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i '/setup_requires/d' setup.py
|
||||||
|
}
|
||||||
|
|
||||||
python3-xlib_package() {
|
python3-xlib_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3"
|
depends="python3-six"
|
||||||
pycompile_module="Xlib"
|
pycompile_module="Xlib"
|
||||||
replaces="python3.4-xlib>=0"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|||||||
Reference in New Issue
Block a user