2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/python-xlib/python-xlib
|
|
|
|
TERMUX_PKG_DESCRIPTION="A fully functional X client library for Python programs"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
2019-05-17 00:18:48 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_VERSION=0.23
|
2018-09-22 12:48:19 +02:00
|
|
|
TERMUX_PKG_REVISION=2
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/python-xlib/python-xlib/releases/download/${TERMUX_PKG_VERSION}/python-xlib-${TERMUX_PKG_VERSION}.tar.bz2
|
|
|
|
TERMUX_PKG_SHA256=c3deb8329038620d07b21be05673fa5a495dd8b04a2d9f4dca37a3811d192ae4
|
|
|
|
TERMUX_PKG_DEPENDS="libx11, python2, python2-six"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
|
|
|
|
|
2018-10-04 23:23:39 +02:00
|
|
|
termux_step_make() {
|
2019-01-21 17:50:21 +01:00
|
|
|
return
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|
|
|
|
|
2018-10-04 23:23:39 +02:00
|
|
|
termux_step_make_install() {
|
2019-01-21 17:50:21 +01:00
|
|
|
## python2 setuptools needed
|
|
|
|
export PYTHONPATH=${TERMUX_PREFIX}/lib/python2.7/site-packages/
|
|
|
|
python2.7 setup.py install --root="/" --prefix="${TERMUX_PREFIX}" --force
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|