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>"
|
2019-06-03 23:33:09 +02:00
|
|
|
TERMUX_PKG_VERSION=0.24
|
2020-02-05 15:42:01 +01:00
|
|
|
TERMUX_PKG_REVISION=5
|
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
|
2019-06-03 23:33:09 +02:00
|
|
|
TERMUX_PKG_SHA256=7ecf32b18b59be2c06848410bae848792ead119ac31084f487730581b3ab598c
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libx11, python2, python2-six"
|
2019-08-13 15:32:34 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
2018-09-10 00:42:26 +02:00
|
|
|
|
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
|
|
|
}
|