TERMUX_SUBPKG_DESCRIPTION="Python bindings and CLI tools for Frida" TERMUX_SUBPKG_INCLUDE=" bin/frida bin/frida-apk bin/frida-create bin/frida-discover bin/frida-kill bin/frida-ls-devices bin/frida-ps bin/frida-trace lib/python* " TERMUX_SUBPKG_DEPENDS="python" TERMUX_SUBPKG_CONFLICTS="frida-tools (<< 15.1.24)" TERMUX_SUBPKG_REPLACES="frida-tools (<< 15.1.24)" termux_step_create_subpkg_debscripts() { _PYTHON_VERSION=$(source $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION) echo "#!$TERMUX_PREFIX/bin/sh" > postinst echo "pip${_PYTHON_VERSION} install 'prompt-toolkit>=2.0.0,<4.0.0' 'colorama>=0.2.7,<1.0.0' 'pygments<=2.0.2,<3.0.0'" >> postinst }