mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-21 22:06:17 +00:00
235c11e73e
due to run-time dependency on python2. Python 2 is long since EOL and has a bunch of known vulnerabilities now. It should not be used other than in some restricted cases such as build dependency of pypy{,3}.
23 lines
844 B
Bash
23 lines
844 B
Bash
# x11-packages
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/python-xlib/python-xlib
|
|
TERMUX_PKG_DESCRIPTION="A fully functional X client library for Python programs"
|
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=0.24
|
|
TERMUX_PKG_REVISION=23
|
|
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=7ecf32b18b59be2c06848410bae848792ead119ac31084f487730581b3ab598c
|
|
TERMUX_PKG_DEPENDS="libx11, python2, python2-six"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
|
|
termux_step_make() {
|
|
return
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
## python2 setuptools needed
|
|
export PYTHONPATH=${TERMUX_PREFIX}/lib/python2.7/site-packages/
|
|
python2.7 setup.py install --root="/" --prefix="${TERMUX_PREFIX}" --force
|
|
}
|