python-xlib: taken over port from prologic
This commit is contained in:
parent
f3cf66c6ae
commit
96775f6e45
@ -1,20 +1,19 @@
|
|||||||
# Description: Python interface to xlib
|
# Description: Python interface to xlib.
|
||||||
# URL: http://python-xlib.sourceforge.net
|
# URL: http://python-xlib.sourceforge.net
|
||||||
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||||
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
||||||
#
|
# Depends on: python xorg-libx11
|
||||||
# Depends on: python, x11
|
|
||||||
|
|
||||||
name=python-xlib
|
name=python-xlib
|
||||||
version=0.12
|
version=0.12
|
||||||
release=3
|
release=3
|
||||||
source=(http://dl.sourceforge.net/sourceforge/python-xlib/$name-$version.tar.gz\
|
source=(http://dl.sourceforge.net/sourceforge/python-xlib/python-xlib-$version.tar.gz\
|
||||||
display.py-encoding.diff python-xlib-0.12-attr-err.diff)
|
display.py-encoding.diff python-xlib-$version-attr-err.diff)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd python-xlib-$version
|
||||||
patch Xlib/protocol/display.py $SRC/display.py-encoding.diff
|
patch Xlib/protocol/display.py $SRC/display.py-encoding.diff
|
||||||
patch -p1 < $SRC/python-xlib-0.12-attr-err.diff
|
patch -p1 -i ../python-xlib-$version-attr-err.diff
|
||||||
python setup.py install --root=$PKG --prefix=/usr
|
python setup.py install --root=$PKG --prefix=/usr
|
||||||
chown -R root:root $PKG
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user